video: test: Adjust order of file closure
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2016 22:45:17 +0000 (15:45 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sat, 6 Feb 2016 12:57:15 +0000 (13:57 +0100)
commita108082d4db959544c4340ced7dcdb45ec3679da
tree5e529eadeb743bd41ae0da35e205da96f2126509
parent2b80b4e246e4f20aec84c15e4da229d07a4c6fad
video: test: Adjust order of file closure

Close the file earlier to hopefully fix a Coverity error.

Reported-by: Coverity (CID: 134901)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
test/dm/video.c