Skip to content

Commit

Permalink
Fix minor memory leak on detach
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 21, 2013
1 parent 08a7fd1 commit f0a6efc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/rlm_passwd/rlm_passwd.c
Expand Up @@ -499,6 +499,7 @@ static int mod_instantiate(CONF_SECTION *conf, void **instance)
static int mod_detach (void *instance) {
#define inst ((struct passwd_instance *)instance)
if(inst->ht) release_ht(inst->ht);
free(inst->pwdfmt);
return 0;
#undef inst
}
Expand Down

0 comments on commit f0a6efc

Please sign in to comment.