forked from HDFGroup/hdf4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The list of cdf structures were not properly de-allocated, causing memory leaks. However, releasing the memory caused a number segfaults in several tests. Re-worked the code that increases the size of the cdf list when application attempts to open more files than the current max number of files that can be opened at the same time. This allowed the library to properly release the allocated memory and eliminated the memory leaks. Verified with valgrind.
- Loading branch information
Showing
3 changed files
with
143 additions
and
88 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
Oops, something went wrong.