Changeset 0f48a69 in pugl


Ignore:
Timestamp:
11/12/15 08:50:40 (22 months 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

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

    r95a42df 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

    r77d1640 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.