Commit 9fe4b1f3 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Fix memory leak

parent 6cf60d85
......@@ -174,7 +174,7 @@ namespace ITA
returnResult->iLeadingZeros = soundPath->iLeadingZeros;
returnResult->iTrailingZeros = soundPath->iTailingZeros;
returnResult->bSameRoom = soundPath->bEntitiesInSameRoom;
returnResult->sfResult = *soundPath->psfResult.release ( );
returnResult->sfResult = *soundPath->psfResult;
if ( pTask->oScene.GetSourceMap ( ).size ( ) != 1 )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment