summaryrefslogtreecommitdiff
path: root/lib/bitsetv.h
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-01-27 18:49:36 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-01-27 18:49:36 +0100
commit954d1e36aa815994f7f5b1fcd46ebc96a63b8df4 (patch)
tree2b0510277fa0a44ffd1e178075084fe6990deb1a /lib/bitsetv.h
parent07ff53ad5cf8419027a75874f0e0a9389fd0fdd6 (diff)
downloadgnulib-954d1e36aa815994f7f5b1fcd46ebc96a63b8df4.tar.gz
bitsetv: allow free on NULL.
* lib/bitsetv.c (bitsetv_free): Do nothing when the bitsetv is NULL.
Diffstat (limited to 'lib/bitsetv.h')
-rw-r--r--lib/bitsetv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitsetv.h b/lib/bitsetv.h
index 798b70d9b4..0971d7adc9 100644
--- a/lib/bitsetv.h
+++ b/lib/bitsetv.h
@@ -33,7 +33,7 @@ bitsetv bitsetv_alloc (bitset_bindex, bitset_bindex, enum bitset_type);
attribute hints specified by ATTR. */
bitsetv bitsetv_create (bitset_bindex, bitset_bindex, unsigned);
-/* Free vector of bitsets. */
+/* Free vector of bitsets. Do nothing if NULL. */
void bitsetv_free (bitsetv);
/* Zero vector of bitsets. */