Plug Free BSD memory leak.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123357 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Host/common/Host.cpp b/source/Host/common/Host.cpp
index 1db6d21..5755aa7 100644
--- a/source/Host/common/Host.cpp
+++ b/source/Host/common/Host.cpp
@@ -630,9 +630,10 @@
         size_t exe_path_size;
         if (sysctl(exe_path_mib, 4, NULL, &exe_path_size, NULL, 0) == 0)
         {
-          char *exe_path = new char[exe_path_size];
-          if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0)
-              g_program_filespec.SetFile(exe_path, false);
+            char *exe_path = new char[exe_path_size];
+            if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0)
+                g_program_filespec.SetFile(exe_path, false);
+            delete[] exe_path;
         }
 #endif
     }