mirror of git://git.suckless.org/sbase
Remember to free the agetline() buffer
This commit is contained in:
parent
1ec996439a
commit
abbb8fffc7
|
@ -109,5 +109,6 @@ pw_copy(int ffd, int tfd, const struct passwd *newpw)
|
|||
free(p);
|
||||
}
|
||||
fflush(to);
|
||||
free(buf);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue