Explorar el Código

HPCC-9802 Add exception release

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Kevin Wang hace 12 años
padre
commit
2245ae575b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      esp/services/ws_dfu/ws_dfuService.cpp

+ 1 - 0
esp/services/ws_dfu/ws_dfuService.cpp

@@ -1199,6 +1199,7 @@ bool CWsDfuEx::DFUDeleteFiles(IEspContext &context, IEspDFUArrayActionRequest &r
                     emsg.replaceString("Create ", "Delete ");
 
                 returnStr.appendf("<Message><Value>Cannot delete %s: %s</Value></Message>", filename, emsg.str());
+                e->Release();
             }
             catch(...)
             {