From: Frederic Crozat Date: Mon, 10 Aug 2009 11:16:18 +0000 (+0200) Subject: [throbgress] Fix memleak X-Git-Tag: 0.7.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1541d73d202a16d812b419605bff236be950ebe;p=thirdparty%2Fplymouth.git [throbgress] Fix memleak --- diff --git a/src/plugins/splash/throbgress/plugin.c b/src/plugins/splash/throbgress/plugin.c index a3ebffaa..89986274 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; }