Attempty to free memory leaks.

This commit is contained in:
David Carlier 2017-08-05 07:14:09 +01:00 committed by Rachael Alexanderson
parent fbd381988b
commit 8d8c353465

View file

@ -624,6 +624,12 @@ bool TimidityPPMIDIDevice::LaunchTimidity ()
}*/
}
for (i = 0; i < strCount; i++)
{
delete [] TimidityArgs[i];
}
delete [] TimidityArgs;
globfree (&glb);
return ChildProcess != -1;
#endif // _WIN32