From: Vineeth T M Date: Thu, 17 Sep 2015 04:35:02 +0000 (+0900) Subject: gl: Fix GError leaks during failures X-Git-Tag: 1.19.3~511^2~1294^2~162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78e07d02ebc4f03281b5ab65e0a5369700b91f59;p=platform%2Fupstream%2Fgstreamer.git gl: Fix GError leaks during failures https://bugzilla.gnome.org/show_bug.cgi?id=755140 --- diff --git a/ext/gl/gstglbasemixer.c b/ext/gl/gstglbasemixer.c index f8c8d193d5..3bad76955d 100644 --- a/ext/gl/gstglbasemixer.c +++ b/ext/gl/gstglbasemixer.c @@ -496,6 +496,7 @@ context_error: { GST_ELEMENT_ERROR (mix, RESOURCE, NOT_FOUND, ("%s", error->message), (NULL)); + g_clear_error (&error); return FALSE; } }