Fix a resource leak

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

Change-Id: I4cf10a17363aa2c495878b00719eee41ad6c59ef
1 file changed