projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88af95
)
Memory leak
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Sun, 24 Aug 2008 16:26:48 +0000
(16:26 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Sun, 24 Aug 2008 16:26:48 +0000
(16:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139707
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
cdr/cdr_pgsql.c
patch
|
blob
|
history
diff --git
a/cdr/cdr_pgsql.c
b/cdr/cdr_pgsql.c
index
df929ce
..
50d4049
100644
(file)
--- 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;
}
}