Fix leak in new blockedclient module API test

(cherry picked from commit 0e20ad14a6a857cb168b808f94721df19b23dc0c)
This commit is contained in:
Oran Agra 2020-09-10 08:18:20 +03:00
parent 0052d5196d
commit 18b30467f7

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;
}