From 01a4c2a2a96cc62cfeb2016065498c28405b0ec1 Mon Sep 17 00:00:00 2001 From: Damien Neil Date: Mon, 10 Jul 2000 17:05:18 +0000 Subject: [PATCH] Tweak object dereferencing: I believe dereferencing object chains were not being freed correctly. (This duplicates a change made by Tale in revision 1.8 of the BIND9 object.c.) --- omapip/alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omapip/alloc.c b/omapip/alloc.c index 1b862208..5bef5c8b 100644 --- a/omapip/alloc.c +++ b/omapip/alloc.c @@ -475,10 +475,10 @@ isc_result_t omapi_object_dereference (omapi_object_t **h, if (!extra_references) { if (inner_reference) omapi_object_dereference - (&(*h) -> inner -> outer, file, line); + (&(*h) -> inner, file, line); if (outer_reference) omapi_object_dereference - (&(*h) -> outer -> inner, file, line); + (&(*h) -> outer, file, line); if (!(*h) -> type -> freer) rc_register (file, line, h, *h, 0); if ((*h) -> type -> destroy)