From 78e07d02ebc4f03281b5ab65e0a5369700b91f59 Mon Sep 17 00:00:00 2001 From: Vineeth T M Date: Thu, 17 Sep 2015 13:35:02 +0900 Subject: [PATCH] gl: Fix GError leaks during failures https://bugzilla.gnome.org/show_bug.cgi?id=755140 --- ext/gl/gstglbasemixer.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.34.1