File luvcview-memory-leaks.patch of Package luvcview

Seen in graphics/luvcview, was incorrect there, jw@suse.de
  Fri May 14 03:22:08 UTC 2010 - kpolulak@gmail.com
  - Fixed memory leaks in v4l2uvc.c

Index: luvcview/v4l2uvc.c
===================================================================
--- luvcview.orig/v4l2uvc.c
+++ luvcview/v4l2uvc.c
@@ -257,10 +257,14 @@ int enum_controls(int vd) //struct vdIn
       goto fatal_controls;
       }
   }
+
+  free(getinput);
   return 0;
  fatal_controls:
+  free(getinput);
   return -1;  
 }
+
 int save_controls(int vd)
 { 
   struct v4l2_queryctrl queryctrl;
@@ -526,8 +530,10 @@ static int init_v4l2(struct vdIn *vd)
 			goto fatal;;
 		}
 	}
+	free(setfps);
 	return 0;
 fatal:
+	free(setfps);
 	return -1;
 
 }