mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 19:20:00 -04:00
use *newrdatas rather than *oldrdatas in sizeof for consistency [RT #41131]
(cherry picked from commit a248b59381)
This commit is contained in:
parent
3cf5c97ae9
commit
5857144184
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ iterate_node(lwres_grbnresponse_t *grbn, dns_db_t *db, dns_dbnode_t *node,
|
|||
if (oldlens != NULL)
|
||||
isc_mem_put(mctx, oldlens, oldsize * sizeof(*oldlens));
|
||||
if (newrdatas != NULL)
|
||||
isc_mem_put(mctx, newrdatas, used * sizeof(*oldrdatas));
|
||||
isc_mem_put(mctx, newrdatas, used * sizeof(*newrdatas));
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue