1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix dead lock.
Author: Joël Krähemann <jkraehemann@gmail.com>
Bug-Debian: http://bugs.debian.org/807823
Forwarded: Joshua Element Green <jgreen@users.sourceforge.net>
Index: libinstpatch/libinstpatch/IpatchBase.c
===================================================================
--- libinstpatch.orig/libinstpatch/IpatchBase.c
+++ libinstpatch/libinstpatch/IpatchBase.c
@@ -231,7 +231,7 @@ ipatch_base_get_file (IpatchBase *base)
IPATCH_ITEM_RLOCK (base);
file = base->file;
if (file) g_object_ref (file);
- IPATCH_ITEM_RLOCK (base);
+ IPATCH_ITEM_RUNLOCK (base);
return (file);
}
|