projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(cmd_match_files) Fix memory leak on `by' and on `vfm_source'.
[pspp]
/
src
/
error.c
diff --git
a/src/error.c
b/src/error.c
index 3c91f73266ef4848f5a66931322e32ce43e9b2d0..571e6393340640107bb6773fd7a7f8bd79f1883d 100644
(file)
--- a/
src/error.c
+++ b/
src/error.c
@@
-204,11
+204,11
@@
err_hcf (int success)
free(file_loc);
file_loc = NULL;
free(file_loc);
file_loc = NULL;
+ nfile_loc = mfile_loc = 0;
outp_done ();
done_glob();
outp_done ();
done_glob();
-
exit (success ? EXIT_SUCCESS : EXIT_FAILURE);
}
exit (success ? EXIT_SUCCESS : EXIT_FAILURE);
}