Skip to content

Commit f8dfcae

Browse files
committed
wip
Signed-off-by: roman khapov <[email protected]>
1 parent 8a04066 commit f8dfcae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sources/rules.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,9 @@ __attribute__((hot)) int od_rules_merge(od_rules_t *rules, od_rules_t *src,
11721172
od_list_init(&rule->link);
11731173
od_list_append(&rules->rules, &rule->link);
11741174
#ifdef PAM_FOUND
1175+
if (rule->auth_pam_data) {
1176+
od_pam_auth_data_free(rule->auth_pam_data);
1177+
}
11751178
rule->auth_pam_data = od_pam_auth_data_create();
11761179
#endif
11771180
count_new++;

0 commit comments

Comments
 (0)