From cbc3ff5f20b2112f687dbb3bfb7777423fbbf89b Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 30 Aug 2019 11:37:27 +0100 Subject: [PATCH] ECC-765: debugging aids --- src/grib_accessor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grib_accessor.c b/src/grib_accessor.c index 023390bfd..23287117a 100644 --- a/src/grib_accessor.c +++ b/src/grib_accessor.c @@ -500,13 +500,13 @@ void grib_accessor_delete(grib_context *ct, grib_accessor* a) while(c) { grib_accessor_class *s = c->super ? *(c->super) : NULL; - /*grib_context_log(ct,GRIB_LOG_DEBUG,"destroy %s ==> %s",c->name,a->name);*/ + /*printf("grib_accessor_delete: before destroy a=%p c->name=%s ==> a->name=%s\n", (void*)a, c->name, a->name);*/ if(c->destroy) { c->destroy(ct,a); } c = s; } - /*printf("Debug: grib_accessor_delete a=%p (%s)\n", (void*)a, a->name);*/ + /*printf("grib_accessor_delete before free a=%p\n", (void*)a);*/ grib_context_free(ct,a); }