Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor memory leak in clusterLoadConfig #741

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

bentotten
Copy link
Contributor

@bentotten bentotten commented Jul 3, 2024

We forgot to call sdsfreesplitres in the error path during a
nodes.conf corruption check, this function exits on the error
paths so this is just a cleanup.

We forgot to call sdsfreesplitres in the error path during a nodes.conf corruption check; this function exits on the error paths.

Signed-off-by: bentotten <[email protected]>
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.27%. Comparing base (b298dfd) to head (9187b76).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable     #741      +/-   ##
============================================
- Coverage     70.32%   70.27%   -0.05%     
============================================
  Files           111      111              
  Lines         60305    60306       +1     
============================================
- Hits          42409    42382      -27     
- Misses        17896    17924      +28     
Files Coverage Δ
src/cluster_legacy.c 85.58% <0.00%> (-0.57%) ⬇️

... and 9 files with indirect coverage changes

Copy link
Member

@enjoy-binbin enjoy-binbin left a comment

Choose a reason for hiding this comment

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

LGTM.

@madolson madolson merged commit f2bbd1f into valkey-io:unstable Jul 4, 2024
19 checks passed
@bentotten bentotten deleted the patch-1 branch July 5, 2024 16:52
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.

3 participants