about summary refs log tree commit diff
path: root/include/alloc-inl.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-19 10:52:44 +0100
committervan Hauser <vh@thc.org>2020-02-19 10:52:44 +0100
commitf9d7ad8e4353fe306b7574e3d645ba2c3ea423ed (patch)
tree301acd761c149e78bdb2a5377b2fe1aeba6b8612 /include/alloc-inl.h
parent69898722cb7a12a88604f2298736fdf244634bfd (diff)
downloadafl++-f9d7ad8e4353fe306b7574e3d645ba2c3ea423ed.tar.gz
forgot cleanup
Diffstat (limited to 'include/alloc-inl.h')
-rw-r--r--include/alloc-inl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h
index ada08b69..5764e30b 100644
--- a/include/alloc-inl.h
+++ b/include/alloc-inl.h
@@ -141,8 +141,7 @@ static inline void* DFL_ck_realloc(void* orig, u32 size) {
 
 static inline void* DFL_ck_realloc_block(void* orig, u32 size) {
 
-  if (orig)
-    size += ALLOC_BLK_INC;
+  if (orig) size += ALLOC_BLK_INC;
 
   return DFL_ck_realloc(orig, size);