removed assert causing an illegal memory access. This was responsible of crashes during BLPOP and other list blocking operations.

This commit is contained in:
antirez 2011-05-11 09:49:23 +02:00
parent 6b52ad87c0
commit defb5f66a0

View File

@ -822,7 +822,6 @@ int handleClientsWaitingListPush(redisClient *c, robj *key, robj *ele) {
/* This should remove the first element of the "clients" list. */
unblockClientWaitingData(receiver);
redisAssert(ln != listFirst(clients));
if (dstkey == NULL) {
/* BRPOP/BLPOP */