From 97a0734005e46cfa362b535c58f41d575b1a9578 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 21 Jan 2011 05:31:59 +0000 Subject: wct4xxp: Close a memory leak in the VPM450 error path. Signed-off-by: Shaun Ruffell Acked-by: Kinsey Moore Acked-By: Russ Meyerriecks Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9539 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.4@9686 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wct4xxp/vpm450m.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dahdi/wct4xxp/vpm450m.c b/drivers/dahdi/wct4xxp/vpm450m.c index 4bb478f..e04922e 100644 --- a/drivers/dahdi/wct4xxp/vpm450m.c +++ b/drivers/dahdi/wct4xxp/vpm450m.c @@ -511,6 +511,7 @@ struct vpm450m *init_vpm450m(void *wc, int *isalaw, int numspans, const struct f #ifdef CONFIG_4KSTACKS local_irq_restore(flags); #endif + vfree(vpm450m->pApiInstance); kfree(vpm450m); kfree(ChipOpen); kfree(ChannelOpen); -- cgit v1.2.3