mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fix leak in new blockedclient module API test (#7780)
This commit is contained in:
@@ -46,6 +46,9 @@ void *worker(void *arg) {
|
||||
// Unblock client
|
||||
RedisModule_UnblockClient(bc, NULL);
|
||||
|
||||
// Free the Redis module context
|
||||
RedisModule_FreeThreadSafeContext(ctx);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user