validate: descriptor-writer: Handle NULL GError address and free GError during error...
authorVineeth TM <vineeth.tm@samsung.com>
Mon, 17 Aug 2015 01:31:33 +0000 (10:31 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 2 Oct 2015 15:39:00 +0000 (17:39 +0200)
commit15c87003b8c48a473b1160a5d93e12b06f3fe90c
treecdaa02da369b1d19c22388f1622572d50bea729e
parent5c0c42ed6d8c26c19e90fb3a0f8e347141f79db3
validate: descriptor-writer: Handle NULL GError address and free GError during error cases

writer_new_discover() API should be able to accept NULL GError and in case of
error, if GError is passed on as parameter, it should be propagated, else it
should be free'd.

https://bugzilla.gnome.org/show_bug.cgi?id=753340
validate/gst/validate/media-descriptor-writer.c