projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/output/select.c (select_matches): Fix memory leak
[pspp]
/
src
/
output
/
select.c
diff --git
a/src/output/select.c
b/src/output/select.c
index 7f76b73a85c2b060be68afae786ffa95318a11db..491caa3d919b7c9e78cd4fb3fd7ea193803b049f 100644
(file)
--- 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;