[zaptel-commits] tzafrir: branch 1.2 r4174 - /branches/1.2/ztdynamic.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Apr 17 09:07:50 CDT 2008


Author: tzafrir
Date: Thu Apr 17 09:07:50 2008
New Revision: 4174

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4174
Log:
ztdynamic_chanfree.diff from bug #12406 .

Modified:
    branches/1.2/ztdynamic.c

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




More information about the zaptel-commits mailing list