From: Wonchul Lee Date: Wed, 11 May 2016 03:16:09 +0000 (+0900) Subject: debugutils: fix warning on enum properties printing X-Git-Tag: 1.10.4~259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58f964da96b737883c281e96b356826e614e2da9;p=platform%2Fupstream%2Fgstreamer.git debugutils: fix warning on enum properties printing https://bugzilla.gnome.org/show_bug.cgi?id=766251 --- diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index e78e53a..9555a44 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -150,8 +150,10 @@ debug_dump_get_object_params (GObject * object, break; } } - if (tmp == NULL) + if (tmp == NULL) { + g_value_unset (&value); continue; + } } else if (G_VALUE_HOLDS_FLAGS (&value)) { GFlagsClass *f_class = g_type_class_ref (G_VALUE_TYPE (&value)); GFlagsValue *vals = f_class->values;