X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fselect.c;h=491caa3d919b7c9e78cd4fb3fd7ea193803b049f;hb=b0a400eb4ab34438115c4be640a43c9b0b3bf7ad;hp=7f76b73a85c2b060be68afae786ffa95318a11db;hpb=672776c201a00e1a667d37a957e7d2211300d48a;p=pspp diff --git a/src/output/select.c b/src/output/select.c index 7f76b73a85..491caa3d91 100644 --- a/src/output/select.c +++ b/src/output/select.c @@ -213,6 +213,7 @@ select_matches (const struct output_item **items, char *subtype = output_item_get_subtype (item); bool match_subtype = match (subtype, &c->include.subtypes, &c->exclude.subtypes); + free (subtype); if (!match_subtype) continue;