diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-08-24 16:26:48 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-08-24 16:26:48 +0000 |
commit | 8be98abf795f63314944c114205e092176d8331a (patch) | |
tree | d06fb9beb564eaef4c722416a724672dbe155b45 | |
parent | a88af95df48dfb0ca5fac0222392ce5e6cb03108 (diff) |
Memory leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | cdr/cdr_pgsql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c index df929ce43..50d404936 100644 --- a/cdr/cdr_pgsql.c +++ b/cdr/cdr_pgsql.c @@ -292,6 +292,8 @@ static int pgsql_log(struct ast_cdr *cdr) conn = NULL; connected = 0; ast_mutex_unlock(&pgsql_lock); + ast_free(sql); + ast_free(sql2); return -1; } } |