diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-01-27 18:49:36 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-01-27 18:49:36 +0100 |
commit | 954d1e36aa815994f7f5b1fcd46ebc96a63b8df4 (patch) | |
tree | 2b0510277fa0a44ffd1e178075084fe6990deb1a /lib/bitsetv.h | |
parent | 07ff53ad5cf8419027a75874f0e0a9389fd0fdd6 (diff) | |
download | gnulib-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.h | 2 |
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. */ |