Skip to content

MDEV-40316: Infer: PULSE_RESOURCE_LEAK in connect#5367

Merged
sanja-byelkin merged 1 commit into
10.6from
10.6-mdev-40316
Jul 10, 2026
Merged

MDEV-40316: Infer: PULSE_RESOURCE_LEAK in connect#5367
sanja-byelkin merged 1 commit into
10.6from
10.6-mdev-40316

Conversation

@raghunandanbhat

Copy link
Copy Markdown
Contributor

fixes MDEV-40316

Problem:

Infer found file descriptors left open on some error code paths in connect storage engine.

Fix:

Close file descriptors on error before returning.

Problem:
  Infer found file descriptors left open on some error code paths in
  connect storage engine.

Fix:
  Close file descriptors on error before returning.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request addresses potential directory descriptor leaks by ensuring that closedir(dir) is called before returning early on error conditions in storage/connect/filamzip.cpp and storage/connect/tabmul.cpp. There are no review comments provided, and I have no additional feedback to offer.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@sanja-byelkin sanja-byelkin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok to push

@sanja-byelkin sanja-byelkin merged commit 635e24d into 10.6 Jul 10, 2026
14 checks passed
@raghunandanbhat raghunandanbhat deleted the 10.6-mdev-40316 branch July 10, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants