mirror of https://mirror.osredm.com/root/redis.git
Fix leak in new blockedclient module API test (#7780)
This commit is contained in:
parent
de8d320230
commit
8ea131fc80
|
@ -46,6 +46,9 @@ void *worker(void *arg) {
|
|||
// Unblock client
|
||||
RedisModule_UnblockClient(bc, NULL);
|
||||
|
||||
// Free the Redis module context
|
||||
RedisModule_FreeThreadSafeContext(ctx);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue