Skip to content
Snippets Groups Projects
Commit 21d2e68d authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard
Browse files

winegstreamer: Dereference messages dropped from watch_bus().


From GStreamer documentation: "If the handler returns GST_BUS_DROP, it should
unref the message, else the message should not be unreffed by the sync handler."

Signed-off-by: default avatarZebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 7e312c34
No related branches found
No related tags found
No related merge requests found
......@@ -1280,6 +1280,7 @@ static GstBusSyncReply watch_bus(GstBus *bus, GstMessage *msg, gpointer data)
default:
break;
}
gst_message_unref(msg);
return GST_BUS_DROP;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment