summaryrefslogtreecommitdiffstats
path: root/games/gnome-games/files/patch-aisleriot_cscmi.c
blob: 2966e6c41221edab4b92fe2aa8c56e7d9e0bc35e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- aisleriot/cscmi.c.orig  Tue Nov  7 17:49:43 2006
+++ aisleriot/cscmi.c   Tue Nov  7 17:49:53 2006
@@ -637,8 +637,8 @@ cscmi_drop_cards (int start_slot, GList 
                cscmi_call_lambda,
                call_data, cscmi_catch_handler, NULL);
   retval = call_data->retval;
-  g_free (call_data);
   scm_gc_unprotect_object (call_data->arg2);
+  g_free (call_data);
 
   return SCM_NFALSEP (retval);
 }