[probile] Fix memory leak introduced in r241824.

llvm-svn: 242350
diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c
index 9402238..68e8c7b 100644
--- a/compiler-rt/lib/profile/InstrProfilingFile.c
+++ b/compiler-rt/lib/profile/InstrProfilingFile.c
@@ -90,6 +90,7 @@
     char *Copy = malloc(strlen(Filename) + 1);
     strcpy(Copy, Filename);
     __llvm_profile_recursive_mkdir(Copy);
+    free(Copy);
   }
 
   /* Truncate the file.  Later we'll reopen and append. */