libinstpatch/0003-missing-mutex-unlock.patch
Tomáš Chvátal 7e35a957c1 Accepting request 661994 from home:derselbst:branches:multimedia:libs
- Add the following patches to fix incorrect GValue assignments:
  * 0001-Fix-improper-GValue-type-assignments-in-ipatch_dls2_.patch
  * 0002-fix-incorrect-usage-of-g_value_set_flags.patch
- Add the following patches to fix incorrect mutex (un-)locking
  * 0003-missing-mutex-unlock.patch
  * 0004-more-locking-issues.patch

OBS-URL: https://build.opensuse.org/request/show/661994
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libinstpatch?expand=0&rev=7
2019-01-07 08:54:15 +00:00

25 lines
765 B
Diff

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