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 95d7674cad
commit ac03edbd9c

View File

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