aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dib3000mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/dib3000mc.c')
-rw-r--r--drivers/media/dvb/frontends/dib3000mc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c
index cc41c6bcdaf6..04ce6276f873 100644
--- a/drivers/media/dvb/frontends/dib3000mc.c
+++ b/drivers/media/dvb/frontends/dib3000mc.c
@@ -899,9 +899,10 @@ int dib3000mc_attach(struct i2c_adapter *i2c_adap, int no_of_demods, u8 default_
899 return 0; 899 return 0;
900 900
901error: 901error:
902 for (k = 0; k < num; k++) 902 for (k = 0; k < num; k++) {
903 kfree(demod[k]->demodulator_priv); 903 kfree(demod[k]->demodulator_priv);
904 904 demod[k] = NULL;
905 }
905 return -EINVAL; 906 return -EINVAL;
906} 907}
907 908