[asterisk-commits] file: branch 1.4 r47748 -
/branches/1.4/apps/app_meetme.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Nov 16 10:52:49 MST 2006
Author: file
Date: Thu Nov 16 11:52:48 2006
New Revision: 47748
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47748
Log:
Don't unreference the SLA object if there is no SLA object in the devicestate callback. (issue #8354 reported by loloski)
Modified:
branches/1.4/apps/app_meetme.c
Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=47748&r1=47747&r2=47748
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Thu Nov 16 11:52:48 2006
@@ -2930,6 +2930,10 @@
/* Find conference */
sla = sla2 = ASTOBJ_CONTAINER_FIND(&slas, data);
+
+ if (!sla2)
+ return AST_DEVICE_INVALID;
+
ASTOBJ_UNREF(sla2, sla_destroy);
ast_log(LOG_DEBUG, "for '%s' conf = %p, sla = %p\n", data, conf, sla);
More information about the asterisk-commits
mailing list