From a248b59381034175ff9b8b4fcae7cefd64847510 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 17 Nov 2015 06:24:32 +1100 Subject: [PATCH] use *newrdatas rather than *oldrdatas in sizeof for consistency [RT #41131] --- bin/named/lwdgrbn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/named/lwdgrbn.c b/bin/named/lwdgrbn.c index 3e7b15bbdb..948f218a00 100644 --- a/bin/named/lwdgrbn.c +++ b/bin/named/lwdgrbn.c @@ -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); }