Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 19, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Because the code no longer bails out, these variables shouldn't be freed
here as they're already freed by the caller.
This also simplifies the code.
Fixes nightly.
If the first string conversion fails, then i==0, but memory was still
allocated for `params`. However, we skip freeing `params` when i==0.

Closes GH-20213.
* PHP-8.3:
  pgsql: Fix memory leak when first string conversion fails
* PHP-8.4:
  pgsql: Fix memory leak when first string conversion fails
* PHP-8.5:
  pgsql: Fix memory leak when first string conversion fails
@pull pull bot locked and limited conversation to collaborators Oct 19, 2025
@pull pull bot added the ⤵️ pull label Oct 19, 2025
@pull pull bot merged commit 81fef09 into makesoftwaresafe:master Oct 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant