diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mir_core/src/memory.cpp | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mir_core/src/memory.cpp b/src/mir_core/src/memory.cpp index d2b055a221..fb94b6c855 100644 --- a/src/mir_core/src/memory.cpp +++ b/src/mir_core/src/memory.cpp @@ -107,10 +107,8 @@ MIR_C_CORE_DLL(void*) mir_realloc(void* ptr, size_t size)  	}
  	else p = NULL;
 -    ptr = p;
  	p = (char*)realloc(p, size + sizeof(DWORD)*3);
  	if (p == NULL) {
 -	    free(ptr);
  		OutputDebugStringA("memory overflow\n");
  		#if defined(_DEBUG)
  			DebugBreak();
  | 
