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
|
// Unblock client
|
||||||
RedisModule_UnblockClient(bc, NULL);
|
RedisModule_UnblockClient(bc, NULL);
|
||||||
|
|
||||||
|
// Free the Redis module context
|
||||||
|
RedisModule_FreeThreadSafeContext(ctx);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user