Fix a memory leak in CopyFile.c.

This addresses the following cppcheck reports:
[build/libs/host/CopyFile.c:327]: (error) Memory leak: srcRsrcName
[build/libs/host/CopyFile.c:327]: (error) Memory leak: dstRsrcName

Change-Id: Ibd6eb380d4fb847d0f4f9c7128abe54a50b54332
diff --git a/libs/host/CopyFile.c b/libs/host/CopyFile.c
index 5be012c..bd65f1e 100644
--- a/libs/host/CopyFile.c
+++ b/libs/host/CopyFile.c
@@ -323,8 +323,11 @@
                 (void) close(dstFd);
             }
 
-            if (copyResult != 0)
+            if (copyResult != 0) {
+                free(srcRsrcName);
+                free(dstRsrcName);
                 return -1;
+            }
         }
 
         free(srcRsrcName);