validate-bin-monitor: Initialize local variable
Avoids segfaults when freeing them if they didn't get filled in
This commit is contained in:
parent
85587a9aa5
commit
6a86f7c1c9
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user