unlock mutex before unref a buffer 72/81372/1
authorBoram Park <boram1288.park@samsung.com>
Mon, 25 Jul 2016 23:53:46 +0000 (08:53 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 25 Jul 2016 23:54:18 +0000 (08:54 +0900)
commitd2cf78ae768f112cea87168ce47a47907c6d2eee
tree3a6454c7198710d5322726ce46217b4b8db60cf4
parent66da0d9230b24c2ea6f9a98087a6642387144323
unlock mutex before unref a buffer

The frontend user release handler can be called when tdm_buffer_unref_backend
is called. We have to unlock/lock the mutex before/after calling
tdm_buffer_unref_backend function.

Change-Id: Idd97a9286c9d7083d5a77ec23595686a81b61d8e
src/tdm_pp.c