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

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


Author: russell
Date: Tue Mar 24 15:55:58 2009
New Revision: 184030

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=184030
Log:
fix a potential mem leak

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=184030&r1=184029&r2=184030
==============================================================================
--- team/russell/event_performance/main/event.c (original)
+++ team/russell/event_performance/main/event.c Tue Mar 24 15:55:58 2009
@@ -1049,6 +1049,7 @@
 	}
 
 	if (!(event_ref = alloc_event_ref())) {
+		ast_event_destroy(dup_event);
 		return -1;
 	}
 




More information about the asterisk-commits mailing list