From 13683a6a1126f518f5325369ef5ea23ed4e487bc Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Fri, 11 Sep 2015 23:16:34 -0400
Subject: [PATCH] memory_util: Remove unnecessary assignment in FreeMemoryPages

---
 src/common/memory_util.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp
index fc6696a36..07c7f79c8 100644
--- a/src/common/memory_util.cpp
+++ b/src/common/memory_util.cpp
@@ -121,11 +121,8 @@ void FreeMemoryPages(void* ptr, size_t size)
     if (ptr)
     {
 #ifdef _WIN32
-
         if (!VirtualFree(ptr, 0, MEM_RELEASE))
             LOG_ERROR(Common_Memory, "FreeMemoryPages failed!\n%s", GetLastErrorMsg());
-        ptr = nullptr; // Is this our responsibility?
-
 #else
         munmap(ptr, size);
 #endif