Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
df9c213b
Unverified
Commit
df9c213b
authored
Jan 04, 2021
by
Oran Agra
Committed by
GitHub
Jan 04, 2021
Browse files
remove unused call to zmalloc_size in defrag.c (#8285)
parent
9dcdc7e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/defrag.c
View file @
df9c213b
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment