diff --git a/ChangeLog.txt b/ChangeLog.txt index 1930ea12..f0d9c45b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -68,6 +68,8 @@ Client library: retrying. - SRV support is now not compiled in by default. - Wildcard TLS certificates are now supported. +- mosquittopp now has a virtual destructor. Closes bug #452915. + 1.3.5 - 20141008 ================ diff --git a/lib/cpp/mosquittopp.h b/lib/cpp/mosquittopp.h index fbd845a5..9315a20f 100644 --- a/lib/cpp/mosquittopp.h +++ b/lib/cpp/mosquittopp.h @@ -53,7 +53,7 @@ class mosqpp_EXPORT mosquittopp { struct mosquitto *m_mosq; public: mosquittopp(const char *id=NULL, bool clean_session=true); - ~mosquittopp(); + virtual ~mosquittopp(); int reinitialise(const char *id, bool clean_session); int socket();