[asterisk-commits] oej: trunk r90854 - /trunk/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Dec 4 09:16:03 CST 2007
Author: oej
Date: Tue Dec 4 09:16:03 2007
New Revision: 90854
URL: http://svn.digium.com/view/asterisk?view=rev&rev=90854
Log:
(closes issue #11431)
Reported by: Laureano
Patches:
app_queue.c.patch uploaded by Laureano (license 265)
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=90854&r1=90853&r2=90854
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Dec 4 09:16:03 2007
@@ -729,15 +729,15 @@
handle_statechange(sc);
- free(sc);
+ ast_free(sc);
sc = NULL;
}
if (sc)
- free(sc);
+ ast_free(sc);
while ((sc = AST_LIST_REMOVE_HEAD(&device_state.state_change_q, entry)))
- free(sc);
+ ast_free(sc);
return NULL;
}
@@ -2829,7 +2829,7 @@
break;
} else {
ao2_ref(cur, -1);
- free(tmp);
+ ast_free(tmp);
}
}
if (qe->expire && (!qe->parent->timeout || (qe->expire - now) <= qe->parent->timeout))
More information about the asterisk-commits
mailing list