Changeset f3893a6 in suil


Ignore:
Timestamp:
05/07/17 17:53:44 (5 months ago)
Author:
David Robillard <d@…>
Branches:
master
Children:
99fc6d4
Parents:
3b2e908
Message:

Fix potential memory leaks

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/x11_in_gtk2.c

    r3b2e908 rf3893a6  
    7070    for (unsigned i = 0; i < childcount; ++i) { 
    7171        if (children[i] == (Window)socket->instance->ui_widget) { 
     72            XFree(children); 
    7273            return true; 
    7374        } 
  • src/x11_in_gtk3.c

    r3b2e908 rf3893a6  
    7171    for (unsigned i = 0; i < childcount; ++i) { 
    7272        if (children[i] == (Window)socket->instance->ui_widget) { 
     73            XFree(children); 
    7374            return true; 
    7475        } 
Note: See TracChangeset for help on using the changeset viewer.