avoid fd leak if opendir is cancelled when calloc has failed
authorRich Felker <dalias@aerifal.cx>
Tue, 19 Apr 2011 01:22:14 +0000 (21:22 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 19 Apr 2011 01:22:14 +0000 (21:22 -0400)
commit75a0be1f65f400489cc09b20a92a4569ad2b0782
treea44c8e4d0e8250c4edd7d41e3dbccca9f944339d
parentdf9e11bb063446df760e8f7c62ea5eb6ba3faa34
avoid fd leak if opendir is cancelled when calloc has failed
src/dirent/opendir.c