aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/i4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/gigaset/i4l.c')
-rw-r--r--drivers/isdn/gigaset/i4l.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/gigaset/i4l.c b/drivers/isdn/gigaset/i4l.c
index 1d084bbb7239..34bca37d65b9 100644
--- a/drivers/isdn/gigaset/i4l.c
+++ b/drivers/isdn/gigaset/i4l.c
@@ -419,6 +419,8 @@ oom:
419 dev_err(bcs->cs->dev, "out of memory\n"); 419 dev_err(bcs->cs->dev, "out of memory\n");
420 for (i = 0; i < AT_NUM; ++i) 420 for (i = 0; i < AT_NUM; ++i)
421 kfree(commands[i]); 421 kfree(commands[i]);
422 kfree(commands);
423 gigaset_free_channel(bcs);
422 return -ENOMEM; 424 return -ENOMEM;
423} 425}
424 426