dtcm: Coverity 89273

This commit is contained in:
Peter Howkins 2018-07-04 23:55:29 +01:00
parent 82f29143b0
commit 0da93b0d43
1 changed files with 3 additions and 2 deletions

View File

@ -1633,10 +1633,11 @@ parse_appt_from_file(nl_catd catd, char *file, CmDataList *list, Props *p,
valid_op = validate_appt(catd, appt, s_buf, e_buf, d_buf, dur,
w_buf, r_buf, f_buf, query, key_data,
version);
if (w_buf)
free(w_buf);
}
free(w_buf);
scrub_attr_list(appt);
fclose(fp);