From: <sl...@ke...> - 2009-11-11 09:45:48
|
Module: gst-plugins-good Branch: master Commit: 7ef43f021b1389efcfca8a151c0724dcc890b005 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=7ef43f021b1389efcfca8a151c0724dcc890b005 Author: Sebastian Dröge <seb...@co...> Date: Tue Nov 10 11:52:24 2009 +0100 v4l2: Make sure to initialize variables before using them --- sys/v4l2/gstv4l2object.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 3712b04..1a15947 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -86,7 +86,7 @@ static gboolean gst_v4l2_class_probe_devices_with_udev (GstElementClass * klass, gboolean check, GList ** klass_devices) { - GUdevClient *client; + GUdevClient *client = NULL; GList *item; if (!check) { |