Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
current (nightly)
-
None
-
None
Description
The generated code for each web service has this function:
STORAGE_CLASS_INFO
int DestroyInstance(BasicHandler *inst)
{
if (inst)
return AXIS_FAIL;
}
The same pointer (inst and pWCH) is deleted twice. If inst is really of type WrapperClassHandler*, as suggested by the reinterpret_cast<>, then the
delete inst;
call should be removed.