• François Grisez's avatar
    Fix memory leak in the generated C++ wrapper · fa550210
    François Grisez authored
    clone() methods sytematically took a reference on the freshly
    created object whereas these had their reference counter set to one
    already.
    
    This commit prevents the wrapper generator take an extra reference
    by passing false as 'takeRef' argument of cPtrToSharedPtr().
    
    This commit also introduce a new property for abstractapi.Method
    objects, which tells whether the method returns an allocated object.
    fa550210
Name
Last commit
Last update
..
cpp Loading commit data...
csharp Loading commit data...
java Loading commit data...