Free the capture buffer in ObReferenceObjectByName.