diff options
| author | Greg Ercolano <erco@seriss.com> | 2013-09-20 03:36:02 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2013-09-20 03:36:02 +0000 |
| commit | 2fc6c3a39b6be6f8a6b9a9dd1d030b46d7ea71bf (patch) | |
| tree | 0798c0c98a7be4b9cc0f7d2c18786f928e1c4af3 /test/list_visuals.cxx | |
| parent | 67ed1a8da999af762085a516833ba99523ccaf48 (diff) | |
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
Diffstat (limited to 'test/list_visuals.cxx')
| -rw-r--r-- | test/list_visuals.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/list_visuals.cxx b/test/list_visuals.cxx index 3f653300b..a9ffdfbfe 100644 --- a/test/list_visuals.cxx +++ b/test/list_visuals.cxx @@ -213,6 +213,7 @@ void list_visuals() { putchar('\n'); } + if ( overlayInfo ) { XFree(overlayInfo); overlayInfo = 0; } } #endif |
