]> Savannah Git Hosting - gnulib.git/commit
di-set: allow free with 'ino_map' being NULL
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 18 Apr 2019 21:04:26 +0000 (23:04 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 18 Apr 2019 21:59:37 +0000 (23:59 +0200)
commit22b911f63ca11395f03ce2ce3cc0b371a37a576d
tree57472eb88ac4f4fea9ae5cf815aff3d17c5b0cb8
parentd6af24178ca4b952327226ad64a4daad8e19109f
di-set: allow free with 'ino_map' being NULL

* lib/di-set.c (di_set_free): Avoid ino_map_free() when dis->ino_map
is NULL.  Bug introduced in commit 3703dbbe88dd.
* tests/test-di-set.c: Add di_set_free() right after di_set_alloc()
as a test.
ChangeLog
lib/di-set.c
tests/test-di-set.c