summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-12-15 17:53:31 +0000
committerShaun Ruffell <sruffell@digium.com>2010-12-15 17:53:31 +0000
commit2da2e41b45b67acc99ebe98544caf919231d4ff4 (patch)
tree2ff4d9be9a0294c9b38814e5dae8431b05ee6dc9 /drivers/dahdi/wct4xxp
parent83d11785ac91959063cf63cb0d2b0bada2dbcd06 (diff)
wct4xxp: Close a memory leak in the VPM450 error path.
Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> Acked-By: Russ Meyerriecks <rmeyerriecks@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9539 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/vpm450m.c1
1 files changed, 1 insertions, 0 deletions
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);