]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Don't leak entry
authorRay Strode <rstrode@redhat.com>
Fri, 23 May 2008 05:15:01 +0000 (01:15 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 23 May 2008 05:15:01 +0000 (01:15 -0400)
src/splash-plugins/fedora-fade-in/fedora-fade-in.c

index 88dd43f20168db8aa25d7274a9f7ef445eeb13d4..69a74c4246e65b929e7db1fd9b9c08f004d3f2de 100644 (file)
@@ -641,6 +641,8 @@ on_enter (ply_boot_splash_plugin_t *plugin,
   plugin->password_answer_handler (plugin->password_answer_data,
                                    text);
   plugin->entry->number_of_bullets = 0;
+  entry_free (plugin->entry);
+  plugin->entry = NULL;
   start_animation (plugin);
 }