Unverified Commit df9c213b authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

remove unused call to zmalloc_size in defrag.c (#8285)

parent 9dcdc7e7
...@@ -58,7 +58,6 @@ void* activeDefragAlloc(void *ptr) { ...@@ -58,7 +58,6 @@ void* activeDefragAlloc(void *ptr) {
void *newptr; void *newptr;
if(!je_get_defrag_hint(ptr)) { if(!je_get_defrag_hint(ptr)) {
server.stat_active_defrag_misses++; server.stat_active_defrag_misses++;
size = zmalloc_size(ptr);
return NULL; return NULL;
} }
/* move this allocation to a new allocation. /* move this allocation to a new allocation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment