fixed redisReader memory alloc