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:
parent
a119804827
commit
858a925c16
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user