diff --git a/daemon/call.c b/daemon/call.c index 6e265d047..349f5cfbf 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -2223,6 +2223,7 @@ void call_destroy(struct call *c) { free(c->recording->metadata); } meta_finish_file(c); + g_slice_free1(sizeof(*(c->recording)), c->recording); rwlock_unlock_w(&c->master_lock);