dtcm: Coverity 88636

This commit is contained in:
Peter Howkins
2018-07-13 16:40:04 +01:00
parent 8e9d0e5282
commit 4111b85da8

View File

@@ -1148,12 +1148,12 @@ read_new_appt(FILE *fp, Dtcm_appointment **appt, Props *p, int version)
a_name, a_tag, a_value);
++attrs_written;
}
free(a_name);
free(a_tag);
free(a_value);
}
free(a_name);
free(a_tag);
free(a_value);
/* this should pull off the new attribute name */
a_name = a_tag = a_value = NULL;