Commit 976ccb92 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winegstreamer: Remove redundant null check before g_error_free.

parent 5cd33bf8
...@@ -1083,7 +1083,6 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data) ...@@ -1083,7 +1083,6 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data)
WARN("%s: %s\n", GST_OBJECT_NAME(msg->src), err->message); WARN("%s: %s\n", GST_OBJECT_NAME(msg->src), err->message);
WARN("%s\n", dbg_info); WARN("%s\n", dbg_info);
} }
if (err)
g_error_free(err); g_error_free(err);
g_free(dbg_info); g_free(dbg_info);
return GST_BUS_DROP; return GST_BUS_DROP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment