Fix memory leak in SteamWorks_GetHTTPResponseBodyCallback.

This commit is contained in:
KyleSanderson
2014-02-08 13:46:17 -07:00
parent b68af8f594
commit 5dfb7f4afb
+2
View File
@@ -600,6 +600,8 @@ static cell_t sm_GetHTTPResponseBodyCallback(IPluginContext *pContext, const cel
pFunction->PushArray(pBuffer, celllen); /* Strings do a copy... it's really bad :( */
pFunction->PushCell(params[3]);
pFunction->Execute(NULL);
delete pBuffer;
return 1;
}