loader: fds can be 0
authorDave Airlie <airlied@gmail.com>
Mon, 1 Sep 2014 09:44:19 +0000 (19:44 +1000)
committerDave Airlie <airlied@gmail.com>
Sat, 6 Sep 2014 00:24:25 +0000 (10:24 +1000)
commit291ae622fd723d5ee2e08bbb8256c51bb5bce008
tree682f97acffed1f5084847bd899f2de7bbdba3e09
parent196e949cf78013aaccdb526a8d59b6a6e4ec5c1b
loader: fds can be 0

Possible resource leak reported by coverity.

Reported-by: Coverity scanner.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/loader/loader.c