Fixes STR #2985: prevent memory leaks with XGetWindowProperty()

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2013-09-20 03:36:02 +00:00
parent 67ed1a8da9
commit 2fc6c3a39b
3 changed files with 28 additions and 11 deletions
+1
View File
@@ -213,6 +213,7 @@ void list_visuals() {
putchar('\n');
}
if ( overlayInfo ) { XFree(overlayInfo); overlayInfo = 0; }
}
#endif