Release memory

This commit is contained in:
Johan Mattsson 2023-03-04 21:53:02 +01:00 committed by GitHub
parent 518f2c6a27
commit acc2e73f48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -925,6 +925,7 @@ void TelnetDebugger::evaluateExpression(const char *tag, S32 frame, const char *
dSprintf( buffer, len, format, tag, result.getString()[0] ? result.getString() : "\"\"" );
send( buffer );
delete newCodeBlock;
delete [] buffer;
}