Mercurial > sdl-ios-xcode
diff src/video/Xext/XME/xme.c @ 2063:dea73e1d07b0
Merged Ryan's fix, in case we need it later.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 29 Oct 2006 14:45:46 +0000 |
parents | c121d94672cb |
children | 81dde1b00bf1 |
line wrap: on
line diff
--- 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: */