[PATCH 4/9] [throbgress] Fix memleak

Frederic Crozat fcrozat at mandriva.com
Mon Aug 10 04:16:18 PDT 2009


---
 src/plugins/splash/throbgress/plugin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/plugins/splash/throbgress/plugin.c b/src/plugins/splash/throbgress/plugin.c
index a3ebffa..8998627 100644
--- a/src/plugins/splash/throbgress/plugin.c
+++ b/src/plugins/splash/throbgress/plugin.c
@@ -126,6 +126,7 @@ create_plugin (ply_key_file_t *key_file)
   plugin->throbber = ply_throbber_new (image_dir, "throbber-");
   plugin->label = ply_label_new ();
   plugin->progress_bar = ply_progress_bar_new ();
+  free(image_dir);
 
   return plugin;
 }
-- 
1.6.4


--=-XBPOfM0g7BgBIfvLZXUv
Content-Disposition: inline; filename="0005-libply-Fix-message-list-memleaks.patch"
Content-Type: text/x-patch; name="0005-libply-Fix-message-list-memleaks.patch"; charset="ISO-8859-15"
Content-Transfer-Encoding: 7bit



More information about the plymouth mailing list