mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
remove unused call to zmalloc_size in defrag.c (#8285)
This commit is contained in:
parent
9dcdc7e79a
commit
df9c213bb0
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user