Ignore:
Timestamp:
06/21/13 11:30:10 (10 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed two memory leaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/cls_orange.cpp

    r11065 r11603  
    10721072      *name ^= 32; 
    10731073      } 
    1074     return PyString_FromString(name); 
     1074 
     1075    PyObject * orangename = PyString_FromString(name); 
     1076    free(name); 
     1077 
     1078    return orangename; 
     1079 
    10751080  PyCATCH 
    10761081} 
Note: See TracChangeset for help on using the changeset viewer.