Changeset 0f48a69 in pugl


Ignore:
Timestamp:
Nov 12, 2015, 8:50:40 AM (2 years ago)
Author:
David Robillard <d@…>
Branches:
master
Children:
2d0304f
Parents:
db28e6c
Message:

Fix memory leaks

Location:
pugl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pugl/pugl_osx.m

    rdb28e6c r0f48a69  
    516516        [view->impl->window release];
    517517    }
     518    free(view->windowClass);
    518519    free(view->impl);
    519520    free(view);
  • pugl/pugl_win.cpp

    rdb28e6c r0f48a69  
    228228    DestroyWindow(view->impl->hwnd);
    229229    UnregisterClass(view->impl->wc.lpszClassName, NULL);
     230    free(view->windowClass);
    230231    free(view->impl);
    231232    free(view);
  • pugl/pugl_x11.c

    rdb28e6c r0f48a69  
    288288    XDestroyWindow(view->impl->display, view->impl->win);
    289289    XCloseDisplay(view->impl->display);
     290    free(view->windowClass);
    290291    free(view->impl);
    291292    free(view);
Note: See TracChangeset for help on using the changeset viewer.