[Pkg-wmaker-commits] [wmifs] 63/118: wmgeneral: Free pointer.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 27 02:37:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmifs.
commit a1c8066b720541066651aa4ed353806c6c2b53c9
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue May 19 22:30:45 2015 -0500
wmgeneral: Free pointer.
Fixes "(error) Memory leak: argv" found by cppcheck.
---
wmgeneral/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/wmgeneral/misc.c b/wmgeneral/misc.c
index 243f1bc..813db76 100644
--- a/wmgeneral/misc.c
+++ b/wmgeneral/misc.c
@@ -162,5 +162,6 @@ execCommand(char *command)
execvp(argv[0], args);
exit(10);
}
+ free(argv);
return pid;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmifs.git
More information about the Pkg-wmaker-commits
mailing list