Skip to content
Snippets Groups Projects
Commit 8be98abf authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Memory leak

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a88af95d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment