2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

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.)
This commit is contained in:
Damien Neil
2000-07-10 17:05:18 +00:00
parent c3064fe0cf
commit 01a4c2a2a9

View File

@@ -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)