Commit 1a8d7cd9 authored by antirez's avatar antirez
Browse files

Merge branch 'unstable' of github.com:/antirez/redis into unstable

parents e8f5d219 ab1d5fe1
...@@ -183,7 +183,7 @@ size_t zmalloc_size(void *ptr) { ...@@ -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
......
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