summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7f3844)
raw | patch | inline | side by side (parent: a7f3844)
author | Wim Taymans <wim.taymans@gmail.com> | |
Wed, 25 May 2005 11:26:14 +0000 (11:26 +0000) | ||
committer | Wim Taymans <wim.taymans@gmail.com> | |
Wed, 25 May 2005 11:26:14 +0000 (11:26 +0000) |
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Unref message after using its contents instead of
before.
* tools/gst-launch.c: (event_loop):
Unref message after using its contents instead of
before.
ChangeLog | patch | blob | history | |
tools/gst-launch.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 1f77d8aaf23046039df79848e11adcf08bed2235..91962570a3e0d8f893540d1c282c04cec897b8fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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:
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index b363aea6525dd834556fec06f207e86b9c8035b1..a5325f5f6dea1ab7db698095f4736a9afc780e35 100644 (file)
--- a/tools/gst-launch.c
+++ b/tools/gst-launch.c
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;