projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd2732
)
Add detail logging of record create/destroy
author
Dennis Schafroth
<dennis@indexdata.com>
Mon, 10 May 2010 08:15:34 +0000
(10:15 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Mon, 10 May 2010 08:15:34 +0000
(10:15 +0200)
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
806cac4
..
cc47d5a
100644
(file)
--- a/
src/zoom-c.c
+++ b/
src/zoom-c.c
@@
-1806,6
+1806,7
@@
ZOOM_API(ZOOM_record)
buf = odr_getbuf(odr_enc, &size, 0);
nrec = (ZOOM_record) xmalloc(sizeof(*nrec));
+ yaz_log(log_details, "ZOOM_record create");
nrec->odr = odr_createmem(ODR_DECODE);
nrec->wrbuf = 0;
#if YAZ_HAVE_XML2
@@
-1860,6
+1861,7
@@
ZOOM_API(void)
ZOOM_record_destroy(ZOOM_record rec)
{
ZOOM_record_release(rec);
+ yaz_log(log_details, "ZOOM_record destroy");
xfree(rec);
}