dect
/
asterisk
Archived
13
0
Fork 0

Fix memory leak.

(Closes issue #13096)
Reported by gknispel_proformatique


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131681 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2008-07-17 15:45:25 +00:00
parent e46e58f997
commit 92d5d25dc0
1 changed files with 1 additions and 0 deletions

View File

@ -1091,6 +1091,7 @@ static struct ast_config *realtime_multi_handler(const char *database,
if (!(tmp_str = sqlite_mprintf("%s ORDER BY %q;", query, initfield))) {
ast_log(LOG_WARNING, "Unable to reallocate SQL query\n");
sqlite_freemem(query);
ast_config_destroy(cfg);
ast_free(initfield);
return NULL;