diff options
Diffstat (limited to 'drivers/isdn/hysdn')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_procconf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hysdn/hysdn_procconf.c b/drivers/isdn/hysdn/hysdn_procconf.c index 639582f61f41..87f59a0e2a95 100644 --- a/drivers/isdn/hysdn/hysdn_procconf.c +++ b/drivers/isdn/hysdn/hysdn_procconf.c | |||
@@ -359,8 +359,7 @@ hysdn_conf_close(struct inode *ino, struct file *filep) | |||
359 | } else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) { | 359 | } else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) { |
360 | /* read access -> output card info data */ | 360 | /* read access -> output card info data */ |
361 | 361 | ||
362 | if (filep->private_data) | 362 | kfree(filep->private_data); /* release memory */ |
363 | kfree(filep->private_data); /* release memory */ | ||
364 | } | 363 | } |
365 | unlock_kernel(); | 364 | unlock_kernel(); |
366 | return (retval); | 365 | return (retval); |