From: Changyeon Lee Date: Wed, 23 Dec 2015 10:57:45 +0000 (+0900) Subject: Fixed bug for destroying wl_buffer X-Git-Tag: accepted/tizen/mobile/20151224.001612~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=cace1df32f00a1d799b32f72ca65e4666190ea43;p=platform%2Fcore%2Fapi%2Fefl-util.git Fixed bug for destroying wl_buffer Change-Id: I96be53a16840bb70a6b689576dfbb76ca55eca03 --- diff --git a/src/efl_util.c b/src/efl_util.c index e73ee33..ede9b21 100644 --- a/src/efl_util.c +++ b/src/efl_util.c @@ -1747,7 +1747,7 @@ fail: fail: if (t_surface) tbm_surface_destroy(t_surface); - if (buffer); + if (buffer) wl_buffer_destroy(buffer); set_last_result(EFL_UTIL_ERROR_SCREENSHOT_EXECUTION_FAIL);