seed r610 - trunk/libseed



Author: racarr
Date: Wed Dec 31 08:58:47 2008
New Revision: 610
URL: http://svn.gnome.org/viewvc/seed?rev=610&view=rev

Log:
Race condition.


Modified:
   trunk/libseed/seed-closure.c

Modified: trunk/libseed/seed-closure.c
==============================================================================
--- trunk/libseed/seed-closure.c	(original)
+++ trunk/libseed/seed-closure.c	Wed Dec 31 08:58:47 2008
@@ -375,7 +375,7 @@
 	cif = g_new0(ffi_cif, 1);
 
 	privates = g_new0(SeedNativeClosure, 1);
-	privates->info = info;
+	privates->info = (GICallableInfo *)g_base_info_ref((GIBaseInfo *)info);
 	privates->function = function;
 	privates->cif = cif;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]