mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
tools/gst-launch.c: Unref message after using its contents instead of before.
Original commit message from CVS: * tools/gst-launch.c: (event_loop): Unref message after using its contents instead of before.
This commit is contained in:
parent
a7f3844adf
commit
32f9787436
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-05-25 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tools/gst-launch.c: (event_loop):
|
||||
Unref message after using its contents instead of
|
||||
before.
|
||||
|
||||
2005-05-24 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* docs/design/draft-ghostpads.txt:
|
||||
|
|
|
@ -381,8 +381,8 @@ event_loop (GstElement * pipeline, gboolean blocking)
|
|||
gchar *debug;
|
||||
|
||||
gst_message_parse_error (message, &gerror, &debug);
|
||||
gst_message_unref (message);
|
||||
gst_object_default_error (GST_MESSAGE_SRC (message), gerror, debug);
|
||||
gst_message_unref (message);
|
||||
g_error_free (gerror);
|
||||
g_free (debug);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue