]> Savannah Git Hosting - gnulib.git/commit
bitset: let freeing functions accept NULL
authorAkim Demaille <akim.demaille@gmail.com>
Mon, 21 Oct 2019 14:47:00 +0000 (16:47 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Mon, 21 Oct 2019 14:52:34 +0000 (16:52 +0200)
commitac7fd66617c1a3ace838b8660e70930c4182c1e0
treee4eba218d8c055bf82d683c9b6fdacd8dcda59d3
parent996cae1ddb5eb56222a4f7018aad1e1dc201b8c9
bitset: let freeing functions accept NULL

* lib/bitset.c (bitset_free, bitset_obstack_free): Do nothing if
given NULL.
* lib/bitset.h: Document that.
* doc/bitset.texi: Fix the example, and demonstrate bitset_free.
ChangeLog
doc/bitset.texi
lib/bitset.c
lib/bitset.h