]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[throbgress] Fix memleak
authorFrederic Crozat <fcrozat@mandriva.com>
Mon, 10 Aug 2009 11:16:18 +0000 (13:16 +0200)
committerFrederic Crozat <fcrozat@mandriva.com>
Tue, 11 Aug 2009 09:55:43 +0000 (11:55 +0200)
src/plugins/splash/throbgress/plugin.c

index a3ebffaa41524c93a931b9658b4234d0e454111b..899862741afd793fcdf1eda48b197eeca70154f9 100644 (file)
@@ -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;
 }