summaryrefslogtreecommitdiff
path: root/omap
diff options
context:
space:
mode:
Diffstat (limited to 'omap')
-rw-r--r--omap/omap_drm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/omap/omap_drm.c b/omap/omap_drm.c
index cd8e8bc4..89f14911 100644
--- a/omap/omap_drm.c
+++ b/omap/omap_drm.c
@@ -304,6 +304,7 @@ struct omap_bo * omap_bo_from_name(struct omap_device *dev, uint32_t name)
return bo;
fail:
+ pthread_mutex_unlock(&table_lock);
free(bo);
return NULL;
}
@@ -337,6 +338,7 @@ struct omap_bo * omap_bo_from_dmabuf(struct omap_device *dev, int fd)
return bo;
fail:
+ pthread_mutex_unlock(&table_lock);
free(bo);
return NULL;
}