miniobject: Fix dup_mini_object function to handle NULL gvalues
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 2 May 2011 14:30:06 +0000 (11:30 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 3 May 2011 11:15:51 +0000 (08:15 -0300)
commita750aac2dd59453a875d19abf75d0203b217a77d
tree4afb1ddb43d9b3a8d5d2700252c3c608083e4b48
parent511f55691514fe73503a2247609a4925035fd0b7
miniobject: Fix dup_mini_object function to handle NULL gvalues

g_value_dup_object handles gvalues that contain NULL pointers,
gst_value_dup_mini_object should do the same.

https://bugzilla.gnome.org/show_bug.cgi?id=649195
gst/gstminiobject.c
tests/check/gst/gstminiobject.c