BUG: fix memory leak
This commit is contained in:
parent
46568242fa
commit
a43f3c99c7
|
@ -84,9 +84,9 @@ int main (int argc, char *argv[])
|
||||||
makeCommand.size()+1) != 0)
|
makeCommand.size()+1) != 0)
|
||||||
{
|
{
|
||||||
makeCommand = buffer;
|
makeCommand = buffer;
|
||||||
delete [] buffer;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
delete [] buffer;\
|
||||||
}
|
}
|
||||||
makeCommand += " ";
|
makeCommand += " ";
|
||||||
makeCommand += executableName;
|
makeCommand += executableName;
|
||||||
|
|
Loading…
Reference in New Issue