Streams: change listpack allocator to zmalloc.

This commit is contained in:
antirez 2017-09-06 12:00:03 +02:00
parent edd70c1993
commit cd18f06e9c

View File

@ -38,7 +38,8 @@
#ifndef LISTPACK_ALLOC_H
#define LISTPACK_ALLOC_H
#define lp_malloc malloc
#define lp_realloc realloc
#define lp_free free
#include "zmalloc.h"
#define lp_malloc zmalloc
#define lp_realloc zrealloc
#define lp_free zfree
#endif