projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.0.19. Use YAZ' wrbuf_write_escaped.
[idzebra-moved-to-github.git]
/
index
/
sgmlread.c
diff --git
a/index/sgmlread.c
b/index/sgmlread.c
index
45680d0
..
5c18872
100644
(file)
--- a/
index/sgmlread.c
+++ b/
index/sgmlread.c
@@
-1,4
+1,4
@@
-/* $Id: sgmlread.c,v 1.4 2007-01-15 15:10:17 adam Exp $
+/* $Id: sgmlread.c,v 1.5 2007-03-19 21:50:39 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
Copyright (C) 1995-2007
Index Data ApS
@@
-99,9
+99,9
@@
static void grs_destroy_sgml(void *clientData)
{
struct sgml_getc_info *p = (struct sgml_getc_info *) 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)
}
static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)