[PR #4128] Correct improper usage of THROW_IF_NULL_ALLOC #25654

Open
opened 2026-01-31 09:10:54 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4128

State: closed
Merged: Yes


Summary of the Pull Request

FIx incorrect usage of THROW_IF_NULL_ALLOC which will throw E_OUTOFMEMORY unintentionally.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Build and run it.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4128 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request FIx incorrect usage of THROW_IF_NULL_ALLOC which will throw E_OUTOFMEMORY unintentionally. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [X] Closes #4099 * [X] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Build and run it.
claunia added the pull-request label 2026-01-31 09:10:54 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25654