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

This commit is contained in:
antirez
2018-07-24 00:21:49 +02:00

View File

@@ -183,7 +183,7 @@ size_t zmalloc_size(void *ptr) {
return size+PREFIX_SIZE;
}
size_t zmalloc_usable(void *ptr) {
return zmalloc_usable(ptr)-PREFIX_SIZE;
return zmalloc_size(ptr)-PREFIX_SIZE;
}
#endif