X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fregxread.c;h=ecf8f9526304f0f4680249ac9460ba37bcd68cbe;hb=6fd073e068943b4428f0fa85d9d21519a974d41d;hp=966ce6aa70f53bd5419549aa8a8ee31abc110b75;hpb=89d3a004b7c651fd5673abfc192e1472dc4d4197;p=idzebra-moved-to-github.git diff --git a/index/regxread.c b/index/regxread.c index 966ce6a..ecf8f95 100644 --- a/index/regxread.c +++ b/index/regxread.c @@ -1,8 +1,5 @@ -/* $Id: regxread.c,v 1.6 2007-01-15 15:10:17 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1995-2008 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -646,7 +643,7 @@ int readFileSpec (struct lexSpec *spec) } } fclose (spec_inf); - wrbuf_free(lineBuf, 1); + wrbuf_destroy(lineBuf); for (lc = spec->context; lc; lc = lc->next) {