--- drivers/media/video/zr36120.c.orig Fri Mar 2 11:12:10 2001
+++ drivers/media/video/zr36120.c Sat May 19 15:31:03 2001
@@ -1195,7 +1195,10 @@
if (vcp==NULL)
return -ENOMEM;
if (vw.clipcount && copy_from_user(vcp,vw.clips,sizeof(struct video_clip)*vw.clipcount))
+ {
+ vfree(vcp);
return -EFAULT;
+ }
on = ztv->running;
if (on)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/