remove another dead assignment to buf, which also causes leak

These leaks happen just once in startup code, so they
didn't matter in practice --- but, obviously, its better to
fix them.
This commit is contained in:
Matthew Flatt 2019-02-20 16:30:36 -07:00
parent a119804827
commit 858a925c16

View File

@ -423,7 +423,6 @@ int main(int argc, char **argv)
if (errno == ENAMETOOLONG) {
/* Increase buffer size and try again: */
bufsize *= 2;
buf = (char *)malloc(bufsize + 1);
} else
break;
} else {