diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-03-13 23:41:22 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-03-13 23:41:22 +0000 |
commit | 2d4f35691f91ebd671889430ba81b6c8f6d96f42 (patch) | |
tree | c8574ad62d01048b3627f6c19c820720798134de | |
parent | adf52b0fc755f536ccb41aa6dae6056e426e718d (diff) | |
download | mediapointer-dvb-s2-2d4f35691f91ebd671889430ba81b6c8f6d96f42.tar.gz mediapointer-dvb-s2-2d4f35691f91ebd671889430ba81b6c8f6d96f42.tar.bz2 |
budget-core.c vfree() checking cleanups. Signed-off by: James Lamanna <jlamanna@gmail.com> Signed-off-by: Domen Puncer <domen@coderock.org>
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c index edfa5c1f1..88b5c96e0 100644 --- a/linux/drivers/media/dvb/ttpci/budget-core.c +++ b/linux/drivers/media/dvb/ttpci/budget-core.c @@ -415,8 +415,7 @@ int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, err: i2c_del_adapter(&budget->i2c_adap); - if (budget->grabbing) - vfree(budget->grabbing); + vfree(budget->grabbing); dvb_unregister_adapter(budget->dvb_adapter); |