Skip to content

Commit

Permalink
Unlock on error
Browse files Browse the repository at this point in the history
Closes Coverity #982086
  • Loading branch information
alandekok committed Feb 17, 2013
1 parent 42e4d3f commit 06f8f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/rlm_cache/rlm_cache.c
Expand Up @@ -647,6 +647,7 @@ static size_t cache_xlat(void *instance, REQUEST *request,
break;

case PAIR_LIST_UNKNOWN:
PTHREAD_MUTEX_UNLOCK(&inst->cache_mutex);
radlog(L_ERR, "rlm_cache: Unknown list qualifier in \"%s\"", fmt);
return 0;

Expand Down

0 comments on commit 06f8f31

Please sign in to comment.