From: Changyeon Lee Date: Tue, 8 Sep 2020 04:43:00 +0000 (+0900) Subject: e_hwc_window: clear display and commit buffer ref before hwc_window is freed X-Git-Tag: submit/tizen/20200908.071647~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0a60224e17261dc6031ce250e7dc30ac0c74829;p=platform%2Fupstream%2Fenlightenment.git e_hwc_window: clear display and commit buffer ref before hwc_window is freed Change-Id: Ib43bee72604e9609e1ae7fc706afdda501240725 --- diff --git a/src/bin/e_hwc_window.c b/src/bin/e_hwc_window.c index 3aa1638b7d..301714724e 100644 --- a/src/bin/e_hwc_window.c +++ b/src/bin/e_hwc_window.c @@ -720,6 +720,9 @@ done: hwc_window->display.buffer.queue_destroy_listener.notify = NULL; } + e_comp_wl_buffer_reference(&hwc_window->commit.buffer_ref, NULL); + e_comp_wl_buffer_reference(&hwc_window->display.buffer_ref, NULL); + E_FREE(hwc_window); }