Skip to content

Commit

Permalink
Fix leak in new blockedclient module API test (redis#7780)
Browse files Browse the repository at this point in the history
  • Loading branch information
oranagra authored Sep 10, 2020
1 parent de8d320 commit 8ea131f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/modules/blockedclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ void *worker(void *arg) {
// Unblock client
RedisModule_UnblockClient(bc, NULL);

// Free the Redis module context
RedisModule_FreeThreadSafeContext(ctx);

return NULL;
}

Expand Down

0 comments on commit 8ea131f

Please sign in to comment.