[asterisk-commits] russell: branch russell/event_performance r183985 - /team/russell/event_perfo...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 24 11:33:36 CDT 2009
Author: russell
Date: Tue Mar 24 11:33:32 2009
New Revision: 183985
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183985
Log:
Fix a crash. payload.raw is not where the malloc'd data is for a str payload anymore
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=183985&r1=183984&r2=183985
==============================================================================
--- team/russell/event_performance/main/event.c (original)
+++ team/russell/event_performance/main/event.c Tue Mar 24 11:33:32 2009
@@ -276,6 +276,8 @@
{
switch (ie_val->ie_pltype) {
case AST_EVENT_IE_PLTYPE_STR:
+ ast_free((char *) ie_val->payload.str);
+ break;
case AST_EVENT_IE_PLTYPE_RAW:
ast_free(ie_val->payload.raw);
break;
More information about the asterisk-commits
mailing list