[svn-commits] tzafrir: branch 1.4 r4175 - in /branches/1.4: ./ kernel/ztdynamic.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 17 09:27:50 CDT 2008


Author: tzafrir
Date: Thu Apr 17 09:27:50 2008
New Revision: 4175

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4175
Log:
Avoid a double-free in ztdynamic.c ztdynamic_chanfree.diff from bug #12406 .

Merged revisions 4174 via svnmerge from 
http://svn.digium.com/svn/zaptel/branches/1.2

Modified:
    branches/1.4/   (props changed)
    branches/1.4/kernel/ztdynamic.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/kernel/ztdynamic.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/ztdynamic.c?view=diff&rev=4175&r1=4174&r2=4175
==============================================================================
--- branches/1.4/kernel/ztdynamic.c (original)
+++ branches/1.4/kernel/ztdynamic.c Thu Apr 17 09:27:50 2008
@@ -433,7 +433,7 @@
 		kfree(z->msgbuf);
 
 	/* Free channels */
-	if (z->chans);
+	if (z->chans)
 		vfree(z->chans);
 	/* Free z */
 	kfree(z);




More information about the svn-commits mailing list