projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setjmp: optimize x86 longjmp epilogues
[musl]
/
src
/
passwd
/
getgrent_a.c
diff --git
a/src/passwd/getgrent_a.c
b/src/passwd/getgrent_a.c
index
ecd2f2e
..
7fc389d
100644
(file)
--- a/
src/passwd/getgrent_a.c
+++ b/
src/passwd/getgrent_a.c
@@
-48,7
+48,8
@@
int __getgrent_a(FILE *f, struct group *gr, char **line, size_t *size, char ***m
rv = errno;
free(*line);
*line = 0;
rv = errno;
free(*line);
*line = 0;
- return 0;
+ gr = 0;
+ goto end;
}
if (*mems) {
mem[0][0] = mems;
}
if (*mems) {
mem[0][0] = mems;