drivers/staging/cx25821/cx25821-video.c: introduce missing kfree
[pandora-kernel.git] / drivers / staging / cx25821 / cx25821-video.c
index ab05392..04b18f4 100644 (file)
@@ -832,6 +832,7 @@ static int video_open(struct file *file)
 
        if (NULL == dev) {
                mutex_unlock(&cx25821_devlist_mutex);
+               kfree(fh);
                return -ENODEV;
        }