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:
Michael Smith 2006-04-04 17:54:30 +00:00
parent 39a6b5414c
commit 3c048726f5
2 changed files with 6 additions and 1 deletions

View file

@ -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>

View file

@ -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);