Avoid double free in criteria_destroy()

master
cparm 2 years ago committed by Simon Ser
parent 7a6afc5199
commit 99fd096d69

@ -97,7 +97,6 @@ void criteria_destroy(struct criteria *criteria) {
#endif #endif
pattern_destroy(criteria->con_mark); pattern_destroy(criteria->con_mark);
pattern_destroy(criteria->workspace); pattern_destroy(criteria->workspace);
free(criteria->workspace);
free(criteria->target); free(criteria->target);
free(criteria->cmdlist); free(criteria->cmdlist);
free(criteria->raw); free(criteria->raw);

Loading…
Cancel
Save