[svn-commits] sruffell: linux/trunk r9539 - /linux/trunk/drivers/dahdi/wct4xxp/vpm450m.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 15 17:53:34 UTC 2010


Author: sruffell
Date: Wed Dec 15 11:53:31 2010
New Revision: 9539

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9539
Log:
wct4xxp: Close a memory leak in the VPM450 error path.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Acked-By: Russ Meyerriecks <rmeyerriecks at digium.com>

Modified:
    linux/trunk/drivers/dahdi/wct4xxp/vpm450m.c

Modified: linux/trunk/drivers/dahdi/wct4xxp/vpm450m.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wct4xxp/vpm450m.c?view=diff&rev=9539&r1=9538&r2=9539
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/vpm450m.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/vpm450m.c Wed Dec 15 11:53:31 2010
@@ -511,6 +511,7 @@
 #ifdef CONFIG_4KSTACKS
 		local_irq_restore(flags);
 #endif
+		vfree(vpm450m->pApiInstance);
 		kfree(vpm450m);
 		kfree(ChipOpen);
 		kfree(ChannelOpen);




More information about the svn-commits mailing list