Branch: refs/heads/master
Home:
https://github.com/asalkeld/libqb
Commit: 813dfb5fd2bce6ac1353b03b5bed3a7eb46dc278
https://github.com/asalkeld/libqb/commit/813dfb5fd2bce6ac1353b03b5bed3a7e...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-12-05 (Wed, 05 Dec 2012)
Changed paths:
M lib/trie.c
M tests/check_map.c
Log Message:
-----------
ptrie: deref the current node in trie_iter_free()
If free'ing the iterator before getting to the last
node make sure we de-ref the current node. Else we
will not be able to delete the node.
fixes #44
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>