scandir returns -1 on error
authorKeith Packard <keithp@keithp.com>
Mon, 18 May 2009 05:43:34 +0000 (22:43 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 May 2009 05:43:34 +0000 (22:43 -0700)
In which case, the namelist is invalid, so don't look at it, and don't free
it.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found