Address CID 1362495: tbuf covered by an INSIST so never NULL

This commit is contained in:
Francis Dupont
2016-06-04 08:49:10 +02:00
parent eb54bc33a2
commit aee6412db2

View File

@@ -1120,8 +1120,7 @@ dns_catz_generate_masterfilename(dns_catz_zone_t *zone, dns_catz_entry_t *entry,
result = ISC_R_SUCCESS;
cleanup:
if (tbuf != NULL)
isc_buffer_free(&tbuf);
isc_buffer_free(&tbuf);
return (result);
}