X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_structure.c;h=c1b9145dec603040bfff63bbff94204ae4d4eb34;hb=e9ebb8053106d2504605c70a1fd777a52f1d9da4;hp=1d064b68bd96461d28780bb281194a31de5bc52d;hpb=1b9a554a58e5595d9512540df60a3d681dc784a9;p=freeglut diff --git a/src/freeglut_structure.c b/src/freeglut_structure.c index 1d064b6..c1b9145 100644 --- a/src/freeglut_structure.c +++ b/src/freeglut_structure.c @@ -219,12 +219,6 @@ void fgDestroyWindow( SFG_Window* window ) fghClearCallBacks( window ); fgCloseWindow( window ); -#if TARGET_HOST_UNIX_X11 - if (window->Window.FBConfig != NULL) - { - XFree( window->Window.FBConfig ); - } -#endif free( window ); if( fgStructure.CurrentWindow == window ) fgStructure.CurrentWindow = NULL;