shithub: puzzles

Download patch

ref: 96b6f55ec834471414576f2ea761f0a29bd47cdc
parent: 2fb2774fcdd207a092b065faf10f081294c88f90
author: Jonas Kölker <jonaskoelker@yahoo.com>
date: Tue Oct 6 21:08:11 EDT 2015

Fix two memory leaks in GTK frontend.

 - The file selector for loading and saving gets a g_free().
 - The handling of saving (menu_save_event) gets an sfree().
 - It's also slightly restructured to prevent future errors.
 - menu_load_event was already structured to prevent this error.
 - The OLD_FILESEL code seems to not need a g_free().