]> git.saurik.com Git - redis.git/blobdiff - src/networking.c
Test: fixed osx "leaks" support in test.
[redis.git] / src / networking.c
index c0dd4d0d80b997bb80b3f73f22afcb89db31309a..a352ba7621c18286142abff7a054e0d814524670 100644 (file)
@@ -90,8 +90,7 @@ redisClient *createClient(int fd) {
     c->obuf_soft_limit_reached_time = 0;
     listSetFreeMethod(c->reply,decrRefCount);
     listSetDupMethod(c->reply,dupClientReplyValue);
-    c->bpop.keys = NULL;
-    c->bpop.count = 0;
+    c->bpop.keys = dictCreate(&setDictType,NULL);
     c->bpop.timeout = 0;
     c->bpop.target = NULL;
     c->io_keys = listCreate();