[asterisk-commits] russell: branch russell/event_performance r183911 - /team/russell/event_perfo...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 24 07:56:48 CDT 2009


Author: russell
Date: Tue Mar 24 07:56:44 2009
New Revision: 183911

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183911
Log:
don't blow up every time an event gets generated.  That is bad, mmmkay?

Modified:
    team/russell/event_performance/main/event.c

Modified: team/russell/event_performance/main/event.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/event_performance/main/event.c?view=diff&rev=183911&r1=183910&r2=183911
==============================================================================
--- team/russell/event_performance/main/event.c (original)
+++ team/russell/event_performance/main/event.c Tue Mar 24 07:56:44 2009
@@ -1136,7 +1136,7 @@
 		return 0;
 	}
 
-	if (!(event_ref = ast_calloc(1, sizeof(*event_ref)))) {
+	if (!(event_ref = alloc_event_ref())) {
 		return -1;
 	}
 




More information about the asterisk-commits mailing list