Skip to content

Commit

Permalink
Refactor return and goto statements (valkey-io#945)
Browse files Browse the repository at this point in the history
Consolidate the cleanup of local variables to a single point within the
method, ensuring proper resource management and p
reventing memory leaks or double-free issues.

Previoslly descused here:
- valkey-io#60 (comment)
- valkey-io#60 (comment)

---------

Signed-off-by: naglera <[email protected]>
Signed-off-by: Amit Nagler <[email protected]>
Co-authored-by: Ping Xie <[email protected]>
  • Loading branch information
2 people authored and eifrah-aws committed Oct 20, 2024
1 parent 881019c commit 3357ea3
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 177 deletions.
Loading

0 comments on commit 3357ea3

Please sign in to comment.