[asterisk-commits] file: branch 1.4 r90101 - /branches/1.4/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 28 16:59:28 CST 2007
Author: file
Date: Wed Nov 28 16:59:28 2007
New Revision: 90101
URL: http://svn.digium.com/view/asterisk?view=rev&rev=90101
Log:
Fix a few memory leaks.
(closes issue #11405)
Reported by: eliel
Patches:
load_realtime.patch uploaded by eliel (license 64)
Modified:
branches/1.4/apps/app_queue.c
Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=90101&r1=90100&r2=90101
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Wed Nov 28 16:59:28 2007
@@ -1321,6 +1321,7 @@
member_config = ast_load_realtime_multientry("queue_members", "interface LIKE", "%", "queue_name", queuename, NULL);
if (!member_config) {
ast_log(LOG_ERROR, "no queue_members defined in your config (extconfig.conf).\n");
+ ast_variables_destroy(queue_vars);
return NULL;
}
}
More information about the asterisk-commits
mailing list