Skip to content

fix(ripext): silent failure - #21

Merged
Rushaway merged 3 commits into
masterfrom
Rushaway-patch-1
Mar 3, 2026
Merged

fix(ripext): silent failure#21
Rushaway merged 3 commits into
masterfrom
Rushaway-patch-1

Conversation

@Rushaway

@Rushaway Rushaway commented Mar 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 08:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the SourceMod plugin to address a RiPExt-related memory management issue when handling the JSON response used to set net_public_adr.

Changes:

  • Bump plugin version from 1.1.1 to 1.1.2.
  • Add a null-check for response.Data after casting to JSONObject.
  • Explicitly delete the parsed JSONObject after extracting the "ip" field.

Comment thread addons/sourcemod/scripting/FixNetPublicAdr.sp
Added error logging for JSON parsing failure.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread addons/sourcemod/scripting/FixNetPublicAdr.sp
@Rushaway Rushaway changed the title fix(ripext): memory leak fix(ripext): silent failure Mar 3, 2026
@Rushaway
Rushaway merged commit 7842474 into master Mar 3, 2026
6 checks passed
@Rushaway
Rushaway deleted the Rushaway-patch-1 branch March 4, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants