2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

- In reference count history, remember the address where the reference

is stored as well as the address of the thing referenced.
This commit is contained in:
Ted Lemon
2000-01-27 22:40:55 +00:00
parent 14bb0a3fd9
commit 37e365b490
10 changed files with 27 additions and 27 deletions

View File

@@ -35,7 +35,7 @@ isc_result_t omapi_message_new (omapi_object_t **o, const char *file, int line)
return ISC_R_NOMEMORY;
memset (m, 0, sizeof *m);
m -> type = omapi_type_message;
rc_register (file, line, m, m -> refcnt);
rc_register (file, line, &m, m, m -> refcnt);
m -> refcnt = 1;
g = (omapi_object_t *)0;