From 3c048726f56f4c5c0cbf59f7bba4c6400177a384 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 4 Apr 2006 17:54:30 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ tools/gst-inspect.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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);