Browse Source

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

pull/245/head
Dylan Mikus 10 years ago
committed by Eric Green
parent
commit
74999abb76
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/call.c

+ 1
- 0
daemon/call.c View File

@ -2223,6 +2223,7 @@ void call_destroy(struct call *c) {
free(c->recording->metadata); free(c->recording->metadata);
} }
meta_finish_file(c); meta_finish_file(c);
g_slice_free1(sizeof(*(c->recording)), c->recording);
rwlock_unlock_w(&c->master_lock); rwlock_unlock_w(&c->master_lock);


Loading…
Cancel
Save