diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-05 06:40:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-05 06:40:51 +0400 |
commit | 8aa33834087bf5e717c0b671254d528d93cf6001 (patch) | |
tree | 8496f2b372b4faaab90ff0129d14e79366d2d448 /source/blender/windowmanager/wm_window.h | |
parent | 2a999890fb0c9839e8eb7666ce58178fac7da538 (diff) |
fix for ghost memory leaks
- ghost data wasn't being freed (added wm_ghost_exit() call to wm_init_exit.c)
- GHOST_EventManager wasn't freeing GHOST_IEventConsumer's
- ghost/X11 wasnt calling XCloseDisplay(), some junk from X11 wasnt being freed
- ghost/X11 XAllocNamedColor wasn't freeing the colors when done making a custom cursor.
Diffstat (limited to 'source/blender/windowmanager/wm_window.h')
-rw-r--r-- | source/blender/windowmanager/wm_window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_window.h b/source/blender/windowmanager/wm_window.h index c2a2b00b796..f159f7f098d 100644 --- a/source/blender/windowmanager/wm_window.h +++ b/source/blender/windowmanager/wm_window.h @@ -33,6 +33,7 @@ struct bScreen; /* *************** internal api ************** */ void wm_ghost_init (bContext *C); +void wm_ghost_exit(void); wmWindow *wm_window_new (bContext *C); void wm_window_free (bContext *C, wmWindow *win); |