Browse Source

HPCC-16436 Fix minor leak when pipe fails to start

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 8 years ago
parent
commit
9a418f7b28
1 changed files with 1 additions and 0 deletions
  1. 1 0
      system/jlib/jthread.cpp

+ 1 - 0
system/jlib/jthread.cpp

@@ -1931,6 +1931,7 @@ public:
                 }
                 retcode = START_FAILURE;
                 started.signal();
+                free(argv);
                 return;
             }
         }