Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-132983: Fix refleak in zstd dictionary functions#134459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ericsnowcurrently merged 1 commit intopython:mainfromemmatyping:zstd-refleak
May 21, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix refleak in zstd dictionary functions
  • Loading branch information
@emmatyping
emmatyping committedMay 21, 2025
commita35890b07bebcc3084e1e5b8ec48f7c688997a19
4 changes: 2 additions & 2 deletionsModules/_zstd/_zstdmodule.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -251,7 +251,7 @@ _zstd_train_dict_impl(PyObject *module, PyBytesObject *samples_bytes,
&chunk_sizes);
if (chunks_number < 0)
{
return NULL;
goto error;
}

/* Allocate dict buffer */
Expand DownExpand Up@@ -333,7 +333,7 @@ _zstd_finalize_dict_impl(PyObject *module, PyBytesObject *custom_dict_bytes,
&chunk_sizes);
if (chunks_number < 0)
{
return NULL;
goto error;
}

/* Allocate dict buffer */
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp