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

This commit is contained in:
Oran Agra 2021-01-04 23:16:19 +02:00 committed by GitHub
parent 9dcdc7e79a
commit df9c213bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,6 @@ void* activeDefragAlloc(void *ptr) {
void *newptr;
if(!je_get_defrag_hint(ptr)) {
server.stat_active_defrag_misses++;
size = zmalloc_size(ptr);
return NULL;
}
/* move this allocation to a new allocation.