X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fsgmlread.c;h=38fcbe3026ebb39ea2475ff856d41b9f82ff1ddf;hb=ce556bc293c5eed60090acaf82cc668d333abd7b;hp=d5564ac901990f585c642e1b877c4849e00fcd2e;hpb=852d5f1f9aa0a70f7e54a68143ee86752394a2f2;p=idzebra-moved-to-github.git diff --git a/index/sgmlread.c b/index/sgmlread.c index d5564ac..38fcbe3 100644 --- a/index/sgmlread.c +++ b/index/sgmlread.c @@ -1,8 +1,5 @@ -/* $Id: sgmlread.c,v 1.3 2006-08-22 13:39:28 adam Exp $ - Copyright (C) 1995-2006 - 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 @@ -99,9 +96,9 @@ static void grs_destroy_sgml(void *clientData) { struct sgml_getc_info *p = (struct sgml_getc_info *) clientData; - wrbuf_free(p->wrbuf, 1); - xfree (p->buf); - xfree (p); + wrbuf_destroy(p->wrbuf); + xfree(p->buf); + xfree(p); } static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)