tools/gst-inspect.c: Don't crash when inspecting an element.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_info):
Don't crash when inspecting an element.
This commit is contained in:
Wim Taymans 2007-10-15 14:33:16 +00:00
parent 653cd3d701
commit 3271cc9f9d
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-10-15 Wim Taymans <wim.taymans@gmail.com>
* tools/gst-inspect.c: (print_element_info):
Don't crash when inspecting an element.
2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
* tests/check/gst/gststructure.c:

View file

@ -1118,8 +1118,7 @@ print_element_info (GstElementFactory * factory, gboolean print_names)
print_children_info (element);
gst_object_unref (factory);
if (_name[0] != '\0')
g_free (_name);
g_free (_name);
return 0;
}