commit | 7d8f06ac901300e0b517a263f571531ca27e47b6 | [log] [tgz] |
---|---|---|
author | YoungJun Cho <yj44.cho@samsung.com> | Wed Jun 26 10:21:40 2013 +0900 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jun 28 12:49:07 2013 +1000 |
tree | f1964a8607f87392a461b71e66aa6f7bb5a3ac3f | |
parent | 538d6661f5d8ad9dcf4ab66c9a99407464111e7a [diff] |
drm/prime: fix to put an exported dma_buf for adding handle failure When drm_prime_add_buf_handle() returns failure for an exported dma_buf, the dma_buf was already allocated and its refcount was increased, so it needs to be put. Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>