Commit acbd9518 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[trac643] fix memory leak in MessageEntry

parent 002aa60f
...@@ -69,6 +69,8 @@ public: ...@@ -69,6 +69,8 @@ public:
MessageEntry(const isc::dns::Message& message, MessageEntry(const isc::dns::Message& message,
boost::shared_ptr<RRsetCache> rrset_cache); boost::shared_ptr<RRsetCache> rrset_cache);
~MessageEntry() { delete hash_key_ptr_; };
/// \brief generate one dns message according /// \brief generate one dns message according
/// the rrsets information of the message. /// the rrsets information of the message.
/// ///
......
...@@ -33,6 +33,10 @@ run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS) ...@@ -33,6 +33,10 @@ run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
run_unittests_LDADD = $(GTEST_LDADD) run_unittests_LDADD = $(GTEST_LDADD)
run_unittests_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la run_unittests_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la
run_unittests_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
run_unittests_LDADD += $(top_builddir)/src/lib/asiolink/libasiolink.la
run_unittests_LDADD += $(top_builddir)/src/lib/cc/libcc.la
run_unittests_LDADD += $(top_builddir)/src/lib/dns/libdns++.la
endif endif
noinst_PROGRAMS = $(TESTS) noinst_PROGRAMS = $(TESTS)
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