Fix leak in new blockedclient module API test (#7780)

This commit is contained in:
Oran Agra 2020-09-10 10:22:16 +03:00 committed by GitHub
parent de8d320230
commit 8ea131fc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,9 @@ void *worker(void *arg) {
// Unblock client
RedisModule_UnblockClient(bc, NULL);
// Free the Redis module context
RedisModule_FreeThreadSafeContext(ctx);
return NULL;
}