Kaydet (Commit) aaedf141 authored tarafından Noel Grandin's avatar Noel Grandin

cid#705673 Resource leak

Change-Id: Ib4cf76e941541b7f09b6a0dfbdab2a2604a0311d
üst dac4af0e
......@@ -118,6 +118,7 @@ static RegError REGISTRY_CALLTYPE createRegistry(rtl_uString* registryName,
ORegistry* pReg = new ORegistry();
if ((ret = pReg->initRegistry(registryName, REG_CREATE)))
{
delete pReg;
*phRegistry = NULL;
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment