X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fbitsig.c;h=9b072e1fc3dcc5c038bfd00645779b5cd4fd101e;hb=bbcbba14a32658a09d7cd44cee40c8369065822f;hp=2e8d5c1f486f4c05a39cefd9602dce5c76131cbe;hpb=735c750e2f4e958ad4de51b43e857df1b6b03e28;p=libucw.git diff --git a/lib/bitsig.c b/lib/bitsig.c index 2e8d5c1f..9b072e1f 100644 --- a/lib/bitsig.c +++ b/lib/bitsig.c @@ -1,5 +1,5 @@ /* - * Bit Array Signatures -- A Dubious Detector of Duplicates + * UCW Library -- Bit Array Signatures -- A Dubious Detector of Duplicates * * (c) 2002 Martin Mares * @@ -36,6 +36,9 @@ * We leave L and an upper bound for N as parameters set during * creation of the structure. Currently, the structure is limited * to 4 Gb = 512 MB. + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #include "lib/lib.h" @@ -73,6 +76,12 @@ bitsig_init(uns perrlog, uns maxn) return b; } +void +bitsig_free(struct bitsig *b) +{ + xfree(b); +} + static void bitsig_hash_init(struct bitsig *b, byte *item) {