forked from pool/luvcview
067f9ace79
Copy from graphics/luvcview based on submit request 40019 from user prusnak OBS-URL: https://build.opensuse.org/request/show/40019 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luvcview?expand=0&rev=5
22 lines
430 B
Diff
22 lines
430 B
Diff
Index: v4l2uvc.c
|
|
===================================================================
|
|
--- v4l2uvc.c.orig
|
|
+++ v4l2uvc.c
|
|
@@ -225,6 +225,8 @@ int enum_controls(int vd) //struct vdIn
|
|
return 0;
|
|
fatal_controls:
|
|
return -1;
|
|
+
|
|
+ free(getinput);
|
|
}
|
|
int save_controls(int vd)
|
|
{
|
|
@@ -426,6 +428,7 @@ static int init_v4l2(struct vdIn *vd)
|
|
fatal:
|
|
return -1;
|
|
|
|
+ free(setfps);
|
|
}
|
|
|
|
static int video_enable(struct vdIn *vd)
|