Преглед изворни кода

HPCC-15223 - Build break on OSX

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman пре 9 година
родитељ
комит
64a25619a5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      system/jlib/jutil.cpp

+ 1 - 1
system/jlib/jutil.cpp

@@ -2523,7 +2523,7 @@ const char * queryCurrentProcessPath()
                 char * biggerPath = new char[size]; 
                 if (_NSGetExecutablePath(biggerPath, &size) == 0)
                     processPath.set(biggerPath);
-                delete biggerPath;
+                delete [] biggerPath;
             }
             break;
         case 0: