From b044eaa6a751d9354f1c05305be902a17c7da97c Mon Sep 17 00:00:00 2001 From: Björn Svensson Date: Mon, 29 Aug 2022 13:25:42 +0200 Subject: Copy error to redisAsyncContext when finding subscribe cb --- async.c | 1 + 1 file changed, 1 insertion(+) diff --git a/async.c b/async.c index ae097df..d7feba3 100644 --- a/async.c +++ b/async.c @@ -535,6 +535,7 @@ static int __redisGetSubscribeCallback(redisAsyncContext *ac, redisReply *reply, return REDIS_OK; oom: __redisSetError(&(ac->c), REDIS_ERR_OOM, "Out of memory"); + __redisAsyncCopyError(ac); return REDIS_ERR; } -- cgit v1.2.3