mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
tools/gst-inspect.c: Free the right plugin list; fixes a memory leak.
Original commit message from CVS: * tools/gst-inspect.c: (print_element_list): Free the right plugin list; fixes a memory leak.
This commit is contained in:
parent
39a6b5414c
commit
3c048726f5
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-04-04 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* tools/gst-inspect.c: (print_element_list):
|
||||||
|
Free the right plugin list; fixes a memory leak.
|
||||||
|
|
||||||
2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
|
2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
|
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
|
||||||
|
|
|
@ -914,7 +914,7 @@ print_element_list (gboolean print_all)
|
||||||
gst_plugin_feature_list_free (orig_features);
|
gst_plugin_feature_list_free (orig_features);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_plugin_list_free (plugins);
|
gst_plugin_list_free (orig_plugins);
|
||||||
|
|
||||||
g_print ("\nTotal plugins: %d\nTotal features: %d\n",
|
g_print ("\nTotal plugins: %d\nTotal features: %d\n",
|
||||||
plugincount, featurecount);
|
plugincount, featurecount);
|
||||||
|
|
Loading…
Reference in a new issue