commit abbb8fffc74cd1ea5ee3bf2f8176bfbf3bb1f5e3 parent 1ec996439ab06930041afb534a230cd8dd3d95ee Author: sin <sin@2f30.org> Date: Thu, 5 Jun 2014 16:56:15 +0100 Remember to free the agetline() buffer Diffstat:
M | util/passwd.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/util/passwd.c b/util/passwd.c @@ -109,5 +109,6 @@ pw_copy(int ffd, int tfd, const struct passwd *newpw) free(p); } fflush(to); + free(buf); return 0; }