Update patches
[ubuntu-omap:libdrm.git] / debian / patches / 0101_omap-release-lock-also-on-error-paths.patch
1 From 28a13f0be734958c74ae5a23d9cf766fa0857a62 Mon Sep 17 00:00:00 2001
2 From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
3 Date: Tue, 9 Oct 2012 14:48:34 +0100
4 Subject: [PATCH] omap: release lock also on error paths
5
6 Signed-off-by: Rob Clark <rob@ti.com>
7 ---
8  omap/omap_drm.c |    2 ++
9  1 file changed, 2 insertions(+)
10
11 Index: libdrm/omap/omap_drm.c
12 ===================================================================
13 --- libdrm.orig/omap/omap_drm.c 2013-03-06 16:18:44.983937480 +0100
14 +++ libdrm/omap/omap_drm.c      2013-03-06 16:28:08.539924591 +0100
15 @@ -220,6 +220,8 @@
16         return bo;
17  
18  fail:
19 +       pthread_mutex_unlock(&table_lock);
20 +       pthread_mutex_unlock(&table_lock);
21         free(bo);
22         return NULL;
23  }