diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-13 14:06:33 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-13 14:06:33 -0200 |
commit | ea9b10fde47b18f2fdf02022ac1d8243946a7397 (patch) | |
tree | f6ef6dbc7af600b24b7921dd68f84f767c2f7260 /linux | |
parent | 42290bd4d466901e792139032b1e0af60bd36cd7 (diff) | |
download | mediapointer-dvb-s2-ea9b10fde47b18f2fdf02022ac1d8243946a7397.tar.gz mediapointer-dvb-s2-ea9b10fde47b18f2fdf02022ac1d8243946a7397.tar.bz2 |
tvaudio: fix a memory leak
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/tvaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c index 7e670f2bc..b8978efa4 100644 --- a/linux/drivers/media/video/tvaudio.c +++ b/linux/drivers/media/video/tvaudio.c @@ -1489,6 +1489,7 @@ static int chip_probe(struct i2c_client *client, const struct i2c_device_id *id) } if (desc->name == NULL) { v4l_dbg(1, debug, client, "no matching chip description found\n"); + kfree(chip); return -EIO; } v4l_info(client, "%s found @ 0x%x (%s)\n", desc->name, client->addr<<1, client->adapter->name); |