two-step plugin: free plugin->animation_dir when destroy

This commit is contained in:
cee1 2011-06-15 17:18:42 +08:00 committed by Ray Strode
parent 749718356a
commit 71f6221f8d

View 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);
}