mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
commit
1a8d7cd9c2
@ -183,7 +183,7 @@ size_t zmalloc_size(void *ptr) {
|
|||||||
return size+PREFIX_SIZE;
|
return size+PREFIX_SIZE;
|
||||||
}
|
}
|
||||||
size_t zmalloc_usable(void *ptr) {
|
size_t zmalloc_usable(void *ptr) {
|
||||||
return zmalloc_usable(ptr)-PREFIX_SIZE;
|
return zmalloc_size(ptr)-PREFIX_SIZE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user