X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/850789ce73dbb236591692708437e1bd705dbce3..169a44cbd6b6a143b282206d754b71cd3af0c963:/src/sentinel.c?ds=sidebyside diff --git a/src/sentinel.c b/src/sentinel.c index 1a70cdbf..e683279b 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -818,7 +818,7 @@ void sentinelCallClientReconfScript(sentinelRedisInstance *master, int role, cha sentinelRedisInstance *createSentinelRedisInstance(char *name, int flags, char *hostname, int port, int quorum, sentinelRedisInstance *master) { sentinelRedisInstance *ri; sentinelAddr *addr; - dict *table; + dict *table = NULL; char slavename[128], *sdsname; redisAssert(flags & (SRI_MASTER|SRI_SLAVE|SRI_SENTINEL));