forked from pool/luvcview
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)
|