]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
two-step plugin: free plugin->animation_dir when destroy
authorcee1 <fykcee1@gmail.com>
Wed, 15 Jun 2011 09:18:42 +0000 (17:18 +0800)
committerRay Strode <rstrode@redhat.com>
Wed, 15 Jun 2011 14:27:06 +0000 (10:27 -0400)
src/plugins/splash/two-step/plugin.c

index 9edc4bfa484b4e087564fd5f411e660eb988cfb4..8f69e0f7e4e6a8b7ca264481784c2b4dba7cf346 100644 (file)
@@ -664,6 +664,7 @@ destroy_plugin (ply_boot_splash_plugin_t *plugin)
   if (plugin->header_image != NULL)
     ply_image_free (plugin->header_image);
 
+  free (plugin->animation_dir);
   free_views (plugin);
   free (plugin);
 }