Fix issue with double-frees related to adding #[unsafe_no_drop_flag] to ComRef.