Skip to content

Commit

Permalink
Small memory fix in smem_container.
Browse files Browse the repository at this point in the history
  • Loading branch information
intorr committed Feb 26, 2018
1 parent a2cd2b5 commit 0c93fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrCore/xrsharedmem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ smem_value* smem_container::dock(u32 dwCRC, u32 dwLength, void* ptr)
// if not found - create new entry
if (0 == result)
{
result = (smem_value*)Memory.mem_alloc(4 * sizeof(u32) + dwLength);
result = (smem_value*)xr_malloc(4 * sizeof(u32) + dwLength);
result->dwReference = 0;
result->dwCRC = dwCRC;
result->dwLength = dwLength;
Expand Down

0 comments on commit 0c93fa0

Please sign in to comment.