[svn-commits] dvossel: branch 1.4 r280448 - /branches/1.4/main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 29 14:04:29 CDT 2010


Author: dvossel
Date: Thu Jul 29 14:04:23 2010
New Revision: 280448

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280448
Log:
fixes issue with translator frame not getting freed

A translator frame even if it local storage so the translation path
can be freed.  This issue prevented g729 licenses from being freed up.

(closes issue #17630)
Reported by: manvirr
Patches:
      encoder_fix.diff uploaded by dvossel (license 671)
Tested by: manvirr, dvossel


Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/channel.c?view=diff&rev=280448&r1=280447&r2=280448
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Thu Jul 29 14:04:23 2010
@@ -3185,6 +3185,9 @@
 							AST_LIST_NEXT(cur, frame_list) = NULL;
 							ast_frfree(cur);
 						}
+						if (new_frame != dup) {
+							ast_frfree(new_frame);
+						}
 						cur = dup;
 					}
 				}




More information about the svn-commits mailing list