Fix compilation error

This commit is contained in:
Evgeny 2019-09-20 01:11:20 -07:00 committed by GitHub
parent 747b4dd62f
commit 4429a40317

View File

@ -1440,7 +1440,7 @@ NULL
#if defined(USE_JEMALLOC) #if defined(USE_JEMALLOC)
sds info = sdsempty(); sds info = sdsempty();
je_malloc_stats_print(inputCatSds, &info, NULL); je_malloc_stats_print(inputCatSds, &info, NULL);
addReplyVerbatim(c,info,sdslen(info),"txt") addReplyVerbatim(c,info,sdslen(info),"txt");
sdsfree(info); sdsfree(info);
#else #else
addReplyBulkCString(c,"Stats not supported for the current allocator"); addReplyBulkCString(c,"Stats not supported for the current allocator");