diff options
author | Kenneth Aafloy <devnull@localhost> | 2005-03-09 15:52:00 +0000 |
---|---|---|
committer | Kenneth Aafloy <devnull@localhost> | 2005-03-09 15:52:00 +0000 |
commit | c47b4ac059887d222399286eb2e4dea319726adb (patch) | |
tree | 9ccaf39ebb357c5038ff25e848798c0b33e67f90 /linux/drivers/media/dvb/dvb-core/dvbdev.c | |
parent | 493f26ca4fb6e69acc47779bb04d0901b1018290 (diff) | |
download | mediapointer-dvb-s2-c47b4ac059887d222399286eb2e4dea319726adb.tar.gz mediapointer-dvb-s2-c47b4ac059887d222399286eb2e4dea319726adb.tar.bz2 |
- kfree(NULL) is safe
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvbdev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c index fa857dd48..73fd74fcf 100644 --- a/linux/drivers/media/dvb/dvb-core/dvbdev.c +++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c @@ -395,9 +395,7 @@ int dvb_usercopy(struct inode *inode, struct file *file, } out: - if (mbuf) - kfree(mbuf); - + kfree(mbuf); return err; } |