chiark / gitweb /
More serialisation changes: the game_aux_info structure has now been
[sgt-puzzles.git] / gtk.c
diff --git a/gtk.c b/gtk.c
index 05d7ad44466e02804f2ed27f926f9053ae851115..88f4a0a0431350191e737bef007bb5876e4feaa4 100644 (file)
--- a/gtk.c
+++ b/gtk.c
@@ -1500,12 +1500,11 @@ int main(int argc, char **argv)
        }
 
        while (n-- > 0) {
-           game_aux_info *aux = NULL;
+           char *aux = NULL;
            char *desc = thegame.new_desc(par, rs, &aux, FALSE);
            printf("%s:%s\n", parstr, desc);
            sfree(desc);
-           if (aux)
-               thegame.free_aux_info(aux);
+            sfree(aux);
        }
 
        return 0;