This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORTX-33743: Analyze and fix memory leaks (#2088)
Problem statement: Valgrind reported few leaks in the code, where strdup was used for allocating memory to the duplicate string. Fix Description: Analyzed the code statically and freed up the variables allocated memory dynamically during the execution. Attaching the valrind report with the code changes, where no leak is found wrt the leaks described of the JIRA ticket. Signed-off-by: Swapnil Chaudhary <swapnil.chaudhary@seagate.com>
- Loading branch information
1 parent
c3b78e4
commit 9b5d685
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters