Remember to free the agetline() buffer

This commit is contained in:
sin 2014-06-05 16:56:15 +01:00
parent 1ec996439a
commit abbb8fffc7
1 changed files with 1 additions and 0 deletions

View File

@ -109,5 +109,6 @@ pw_copy(int ffd, int tfd, const struct passwd *newpw)
free(p);
}
fflush(to);
free(buf);
return 0;
}