redefined the COM object memory release statements