From 2ea5c05241edb2ca63967c3056a5ee3347bce576 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 26 Aug 2008 12:27:11 +0000 Subject: sys/v4l2/: Fix memory leaks. Small code cleanups : No need for empty _init(). No need to memset instance structures. ... Original commit message from CVS: * sys/v4l2/gstv4l2object.c: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2_calls.c: * sys/v4l2/v4l2src_calls.c: Fix memory leaks. Small code cleanups : No need for empty _init(). No need to memset instance structures. Some more FIXME's. --- sys/v4l2/v4l2_calls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/v4l2/v4l2_calls.c') diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index f7cc2bd3..f318fc5b 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -313,8 +313,9 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) channel->label = g_strdup ((const gchar *) control.name); v4l2channel->id = n; -#if 0 /* FIXME: it will be need just when handling private controls - (currently none of base controls are of this type) */ +#if 0 + /* FIXME: it will be need just when handling private controls + *(currently none of base controls are of this type) */ if (control.type == V4L2_CTRL_TYPE_MENU) { struct v4l2_querymenu menu, *mptr; -- cgit