diff options
author | Razvan Becheriu <razvan@isc.org> | 2024-02-20 20:44:59 +0100 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2024-03-05 08:50:05 +0100 |
commit | c25bc2b72be63920004eda8c91a127dd9974f716 (patch) | |
tree | fd3810e56e5d6d9cbd54a73a11eeae7cb7d1350b /src/lib/dns/rdata | |
parent | [#3190] fixed ASAN warnings (diff) | |
download | kea-c25bc2b72be63920004eda8c91a127dd9974f716.tar.xz kea-c25bc2b72be63920004eda8c91a127dd9974f716.zip |
[#3190] addressed review comments
Diffstat (limited to 'src/lib/dns/rdata')
-rw-r--r-- | src/lib/dns/rdata/generic/opt_41.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dns/rdata/generic/opt_41.cc b/src/lib/dns/rdata/generic/opt_41.cc index 4be20a41c3..326ec383ab 100644 --- a/src/lib/dns/rdata/generic/opt_41.cc +++ b/src/lib/dns/rdata/generic/opt_41.cc @@ -54,7 +54,7 @@ struct OPTImpl { /// \brief Default constructor. OPT::OPT() : - impl_(new OPTImpl) + impl_(new OPTImpl()) { } @@ -84,7 +84,7 @@ OPT::OPT(MasterLexer&, const Name*, OPT::OPT(InputBuffer& buffer, size_t rdata_len) : impl_(NULL) { - std::unique_ptr<OPTImpl> impl_ptr(new OPTImpl); + std::unique_ptr<OPTImpl> impl_ptr(new OPTImpl()); while (true) { if (rdata_len == 0) { |