libinstpatch/0003-missing-mutex-unlock.patch

25 lines
765 B
Diff
Raw Normal View History

From 0b2c5ce218495fb1695e9b79d133cb32dc5d6e76 Mon Sep 17 00:00:00 2001
From: derselbst <tom.mbrt@googlemail.com>
Date: Sat, 29 Dec 2018 22:12:39 +0100
Subject: [PATCH 1/2] missing mutex unlock
---
libinstpatch/libinstpatch/IpatchDLS2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libinstpatch/libinstpatch/IpatchDLS2.c b/libinstpatch/libinstpatch/IpatchDLS2.c
index 402d6d1..5a79028 100644
--- a/libinstpatch/libinstpatch/IpatchDLS2.c
+++ b/libinstpatch/libinstpatch/IpatchDLS2.c
@@ -407,6 +407,7 @@ ipatch_dls2_container_make_unique (IpatchContainer *container,
{
g_critical ("Invalid child type '%s' for IpatchDLS2 object",
g_type_name (G_TYPE_FROM_INSTANCE (item)));
+ IPATCH_ITEM_WUNLOCK (dls);
return;
}
--
2.16.4