Don't leak entry

This commit is contained in:
Ray Strode 2008-05-23 01:15:01 -04:00
parent 7e14cb9452
commit 6a2fba76c1

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