From db32b7150acaf0e15dc6d33428f34bf49a1cc6d9 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Mon, 10 May 2010 10:15:34 +0200 Subject: [PATCH] Add detail logging of record create/destroy --- src/zoom-c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zoom-c.c b/src/zoom-c.c index 806cac4..cc47d5a 100644 --- 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); } -- 1.7.10.4