mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -210,8 +210,8 @@ static void
|
||||||
_bus_handler (GstBus * bus, GstMessage * message,
|
_bus_handler (GstBus * bus, GstMessage * message,
|
||||||
GstValidateBinMonitor * monitor)
|
GstValidateBinMonitor * monitor)
|
||||||
{
|
{
|
||||||
GError *err;
|
GError *err = NULL;
|
||||||
gchar *debug;
|
gchar *debug = NULL;
|
||||||
|
|
||||||
switch (GST_MESSAGE_TYPE (message)) {
|
switch (GST_MESSAGE_TYPE (message)) {
|
||||||
case GST_MESSAGE_ERROR:
|
case GST_MESSAGE_ERROR:
|
||||||
|
|
Loading…
Reference in a new issue