From: Dana Jansens Date: Tue, 27 May 2003 20:13:25 +0000 (+0000) Subject: destroy the hashtable on shutdown X-Git-Tag: gl2~72 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c6c0abcfe44a59de3780c672ad94e66fcc159bdf;p=dana%2Fopenbox.git destroy the hashtable on shutdown --- 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);