Free the call->recording struct when the call is destroyed.

pull/245/head
Dylan Mikus 10 years ago committed by Eric Green
parent 1af73c665a
commit 74999abb76

@ -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);

Loading…
Cancel
Save