Skip to content

fix err memory leak in rtc to rtmp bridge. v6.0.174 v7.0.55#4441

Merged
winlinvip merged 3 commits intoossrs:developfrom
suzp1984:fix/err_memory_leak
Aug 16, 2025
Merged

fix err memory leak in rtc to rtmp bridge. v6.0.174 v7.0.55#4441
winlinvip merged 3 commits intoossrs:developfrom
suzp1984:fix/err_memory_leak

Conversation

@suzp1984
Copy link
Copy Markdown
Contributor

@suzp1984 suzp1984 commented Aug 16, 2025

  1. print the error messages before dismiss it;
  2. free the err to avoid memory leak;

Cause

found this issue when research #4434 .

Impact

  1. develop
  2. 5.0release
  3. 6.0release

1. print the error messages before dismiss it;
2. free the err to avoid memory leak;
@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Aug 16, 2025
@winlinvip winlinvip changed the title fix err memory leak in rtc to rtmp bridge. fix err memory leak in rtc to rtmp bridge. v6.0.174 v7.0.55 Aug 16, 2025
@winlinvip winlinvip added the RefinedByAI Refined by AI/GPT. label Aug 16, 2025
@winlinvip winlinvip merged commit 8cd4616 into ossrs:develop Aug 16, 2025
4 of 5 checks passed
winlinvip added a commit that referenced this pull request Aug 16, 2025
1. print the error messages before dismiss it;
2. free the err to avoid memory leak;

found this issue when research #4434 .

 1. develop
 2. 5.0release
 3. 6.0release

---------

Co-authored-by: winlin <winlinvip@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EnglishNative This issue is conveyed exclusively in English. RefinedByAI Refined by AI/GPT.

Development

Successfully merging this pull request may close these issues.

2 participants