Fix a resource leak

This issue was found by scan.coverity.com (CID 19968)
which is a static code analysis tool, free for open source
code.

Change-Id: I1ec2b191507d80b7fc3101afb9d4925afb570360
1 file changed