Skip to content

Commit 3357ea3

Browse files
nagleraPingXie
authored andcommitted
Refactor return and goto statements (valkey-io#945)
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]>
1 parent 881019c commit 3357ea3

File tree

2 files changed

+246
-177
lines changed

2 files changed

+246
-177
lines changed

0 commit comments

Comments
 (0)