projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af91f7a
)
(cmd_match_files) Fix memory leak on `by' and on `vfm_source'.
author
Ben Pfaff
<blp@gnu.org>
Mon, 4 Jul 2005 05:48:04 +0000
(
05:48
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Mon, 4 Jul 2005 05:48:04 +0000
(
05:48
+0000)
src/get.c
patch
|
blob
|
history
diff --git
a/src/get.c
b/src/get.c
index fd9492210ab782544186749f1d26ddce7420df37..32602b35c66907565d0e81cb0e857fbacfcb7fa2 100644
(file)
--- a/
src/get.c
+++ b/
src/get.c
@@
-887,6
+887,7
@@
cmd_match_files (void)
}
}
}
+ free (by);
}
else if (lex_match_id ("FIRST"))
{
@@
-1038,6
+1039,9
@@
cmd_match_files (void)
procedure (mtf_processing, &mtf);
mtf_processing_finish (&mtf);
+ free_case_source (vfm_source);
+ vfm_source = NULL;
+
dict_destroy (default_dict);
default_dict = mtf.dict;
mtf.dict = NULL;