Commit f5840158 authored by Bruno Coudoin's avatar Bruno Coudoin

Fixed a memory leak

svn path=/branches/gcomprixogoo/; revision=3643
parent 4bc53881
......@@ -432,7 +432,10 @@ static void shapegame_next_level()
/* Try the next level */
gcomprisBoard->sublevel = gcomprisBoard->number_of_sublevel;
if(!increment_sublevel())
return;
{
g_free(filename);
return;
}
}
gc_bar_set_level(gcomprisBoard);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment