2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

use *newrdatas rather than *oldrdatas in sizeof for consistency [RT #41131]

This commit is contained in:
Mark Andrews 2015-11-17 06:24:32 +11:00
parent dd784c18ef
commit a248b59381

View File

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