Commit a248b593 authored by Mark Andrews's avatar Mark Andrews
Browse files

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

parent dd784c18
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment