-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: Fix memory issues with hash map
Each entry in hash map must be allocated memory on the heap. In addition, much check that head is initialized prior to calling _add() and _del() functions. Also made corrections to compare and hash functions. Signed-off-by: Nathan Duddles <[email protected]>
- Loading branch information
1 parent
399a33c
commit 458100c
Showing
1 changed file
with
90 additions
and
54 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