Browse Source

HPCC-23855 Fix memory leak in fileservices plugin

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 5 years ago
parent
commit
2199e66896
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/fileservices/fileservices.cpp

+ 1 - 1
plugins/fileservices/fileservices.cpp

@@ -639,7 +639,7 @@ static void blockUntilComplete(const char * label, IClientFileSpray &server, ICo
 
         Owned<IClientGetDFUWorkunit> req = server.createGetDFUWorkunitRequest();
         req->setWuid(wuid);
-        Linked<IClientGetDFUWorkunitResponse> result = server.GetDFUWorkunit(req);
+        Owned<IClientGetDFUWorkunitResponse> result = server.GetDFUWorkunit(req);
 
         const IMultiException* excep = &result->getExceptions();
         if ((excep != NULL) && (excep->ordinality() > 0))