summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2016-01-04 11:46:16 +0100
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2016-01-04 11:46:16 +0100
commitcabf9234849508ba7285d1a5bafd3bab692eb80f (patch)
treec681c777e8a8867a0bbd955558a92926653ba300 /platform/windows
parentcb39db0b02c2d69994e2cd523844a2a9d3087d85 (diff)
Remove unnecessary null pointer checks
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/os_windows.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 95bfa2ea94..8c564842a1 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -1144,8 +1144,7 @@ void OS_Windows::finalize_core() {
if (mempool_dynamic)
memdelete( mempool_dynamic );
- if (mempool_static)
- delete mempool_static;
+ delete mempool_static;
TCPServerWinsock::cleanup();