Mercurial > sdl-ios-xcode
comparison src/video/Xext/XME/xme.c @ 3885:a10bddfdc40f SDL-1.2
Closing minor memory leak in XME code.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 29 Oct 2006 02:46:42 +0000 |
parents | ecba4bbaf9c2 |
children | 904defc0792e |
comparison
equal
deleted
inserted
replaced
3884:dba874934f0c | 3885:a10bddfdc40f |
---|---|
391 SyncHandle(); | 391 SyncHandle(); |
392 | 392 |
393 return (rep.success ? xTrue : xFalse); | 393 return (rep.success ? xTrue : xFalse); |
394 } | 394 } |
395 | 395 |
396 | |
397 /* SDL addition from Ryan: free memory used by xme. */ | |
398 void XiGMiscDestroy(void) | |
399 { | |
400 if (xigmisc_info) { | |
401 XextDestroyExtension(xigmisc_info); | |
402 xigmisc_info = NULL; | |
403 } | |
404 } | |
405 |