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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user