From c6c0abcfe44a59de3780c672ad94e66fcc159bdf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 27 May 2003 20:13:25 +0000 Subject: [PATCH] destroy the hashtable on shutdown --- render2/instance.c | 1 + 1 file changed, 1 insertion(+) diff --git a/render2/instance.c b/render2/instance.c index b2abb3dd..97036248 100644 --- a/render2/instance.c +++ b/render2/instance.c @@ -111,6 +111,7 @@ struct RrInstance *RrInstanceNew(Display *display, int screen) void RrInstanceFree(struct RrInstance *inst) { if (inst) { + g_hash_table_destroy(inst->surface_map); glXDestroyContext(inst->display, inst->glx_context); XFreeColormap(inst->display, inst->cmap); free(inst); -- 2.34.1