- bttv-fix-memory-leak-in-radio_release.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     bttv: fix memory leak in radio_release
has been removed from the -mm tree.  Its filename was
     bttv-fix-memory-leak-in-radio_release.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: bttv: fix memory leak in radio_release
From: Robert Fitzsimons <robfitz@xxxxxxxx>

Fix the leak of the bttv_fh structure allocated in radio_open which
was introduced by commit 5cd3955cb8adfc1edf481e9e1cb2289db50ccacb.

Signed-off-by: Robert Fitzsimons <robfitz@xxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/media/video/bt8xx/bttv-driver.c |    3 +++
 1 file changed, 3 insertions(+)

diff -puN drivers/media/video/bt8xx/bttv-driver.c~bttv-fix-memory-leak-in-radio_release drivers/media/video/bt8xx/bttv-driver.c
--- a/drivers/media/video/bt8xx/bttv-driver.c~bttv-fix-memory-leak-in-radio_release
+++ a/drivers/media/video/bt8xx/bttv-driver.c
@@ -3466,6 +3466,9 @@ static int radio_release(struct inode *i
 	file->private_data = NULL;
 	kfree(fh);
 
+	file->private_data = NULL;
+	kfree(fh);
+
 	btv->radio_user--;
 
 	bttv_call_i2c_clients(btv, RDS_CMD_CLOSE, &cmd);
_

Patches currently in -mm which might be from robfitz@xxxxxxxx are

git-dvb.patch
bttv-fix-memory-leak-in-radio_release.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux