Skip to content

Release buffer when serialization throws exception - #104

Merged
normanmaurer merged 1 commit into
mainfrom
release_on_exception
Jul 26, 2025
Merged

Release buffer when serialization throws exception#104
normanmaurer merged 1 commit into
mainfrom
release_on_exception

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

We need to release the previous allocated buffer if serialization throws an exception as otherwise we will leak it.

Modifications:

Correctly release buffer if serialization throws an exception

Result:

No more buffer leak when serialization fails

Motivation:

We need to release the previous allocated buffer if serialization throws an exception as otherwise we will leak it.

Modifications:

Correctly release buffer if serialization throws an exception

Result:

No more buffer leak when serialization fails
@normanmaurer normanmaurer added this to the 0.0.19.Final milestone Jul 24, 2025
@normanmaurer
normanmaurer requested a review from chrisvest July 24, 2025 05:22
@normanmaurer
normanmaurer merged commit f749c92 into main Jul 26, 2025
10 checks passed
@chrisvest
chrisvest deleted the release_on_exception branch July 28, 2025 18:25
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