validate-bin-monitor: Initialize local variable

Avoids segfaults when freeing them if they didn't get filled in
This commit is contained in:
Edward Hervey 2014-10-31 16:01:52 +01:00
parent 85587a9aa5
commit 6a86f7c1c9

View file

@ -210,8 +210,8 @@ static void
_bus_handler (GstBus * bus, GstMessage * message,
GstValidateBinMonitor * monitor)
{
GError *err;
gchar *debug;
GError *err = NULL;
gchar *debug = NULL;
switch (GST_MESSAGE_TYPE (message)) {
case GST_MESSAGE_ERROR: