You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2025/09/25 00:33:45 UTC

(logging-log4cxx) 01/01: Ensure memory used by SyslogAppender is correctly released

This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch fix_syslogappender
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 3c17ea2b070c89e16870fad786a94d31032af57f
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Thu Sep 25 10:33:28 2025 +1000

    Ensure memory used by SyslogAppender is correctly released
---
 src/main/include/log4cxx/private/datagramsocket_priv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/include/log4cxx/private/datagramsocket_priv.h b/src/main/include/log4cxx/private/datagramsocket_priv.h
index 3f1cea26..ccc25760 100644
--- a/src/main/include/log4cxx/private/datagramsocket_priv.h
+++ b/src/main/include/log4cxx/private/datagramsocket_priv.h
@@ -42,7 +42,7 @@ struct DatagramSocket::DatagramSocketPriv
 	{
 	}
 
-	~DatagramSocketPriv() = default;
+	virtual ~DatagramSocketPriv() = default;
 
 	InetAddressPtr address;