[Mesa-stable] [PATCH] Fix memory leak in loader on init of drawable as pixmap
Kirill Burtsev
kirill.burtsev at qt.io
Mon Dec 3 19:03:25 UTC 2018
---
src/loader/loader_dri3_helper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index 1981b5f051..7cd6b1e8ab 100644
--- a/src/loader/loader_dri3_helper.c
+++ b/src/loader/loader_dri3_helper.c
@@ -1509,6 +1509,7 @@ dri3_update_drawable(struct loader_dri3_drawable *draw)
mtx_unlock(&draw->mtx);
return false;
}
+ free(error);
draw->is_pixmap = true;
xcb_unregister_for_special_event(draw->conn, draw->special_event);
draw->special_event = NULL;
--
2.19.2
More information about the mesa-stable
mailing list