src/video/Xext/XME/xme.c
branchSDL-1.2
changeset 3885 a10bddfdc40f
parent 1599 ecba4bbaf9c2
child 4144 904defc0792e
     1.1 --- a/src/video/Xext/XME/xme.c	Fri Oct 27 20:18:24 2006 +0000
     1.2 +++ b/src/video/Xext/XME/xme.c	Sun Oct 29 02:46:42 2006 +0000
     1.3 @@ -393,3 +393,13 @@
     1.4    return (rep.success ? xTrue : xFalse);
     1.5  }
     1.6  
     1.7 +
     1.8 +/* SDL addition from Ryan: free memory used by xme. */
     1.9 +void XiGMiscDestroy(void)
    1.10 +{
    1.11 +    if (xigmisc_info) {
    1.12 +        XextDestroyExtension(xigmisc_info);
    1.13 +        xigmisc_info = NULL;
    1.14 +    }
    1.15 +}
    1.16 +