From: Keith Packard Date: Mon, 18 May 2009 05:43:34 +0000 (-0700) Subject: scandir returns -1 on error X-Git-Tag: 0.4~5 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=33221277690e6ee30387c506c3f2b8237ed48efd;hp=33221277690e6ee30387c506c3f2b8237ed48efd;p=fw%2Faltos scandir returns -1 on error In which case, the namelist is invalid, so don't look at it, and don't free it. Signed-off-by: Keith Packard ---