src/video/Xext/XME/xme.c
changeset 2063 dea73e1d07b0
parent 1895 c121d94672cb
child 3633 81dde1b00bf1
--- a/src/video/Xext/XME/xme.c	Sun Oct 29 04:09:17 2006 +0000
+++ b/src/video/Xext/XME/xme.c	Sun Oct 29 14:45:46 2006 +0000
@@ -408,4 +408,14 @@
     return (rep.success ? xTrue : xFalse);
 }
 
+/* SDL addition from Ryan: free memory used by xme. */
+void
+XiGMiscDestroy(void)
+{
+    if (xigmisc_info) {
+        XextDestroyExtension(xigmisc_info);
+        xigmisc_info = NULL;
+    }
+}
+
 /* vi: set ts=4 sw=4 expandtab: */