diff --git a/ChangeLog b/ChangeLog index 4d90bb24b1..b08061aa69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-04 Michael Smith + + * tools/gst-inspect.c: (print_element_list): + Free the right plugin list; fixes a memory leak. + 2006-04-04 Tim-Philipp Müller Patch by: Mark Nauwelaerts diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index cac8b56a54..b79f3d5aee 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -914,7 +914,7 @@ print_element_list (gboolean print_all) 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", plugincount, featurecount);