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 <[email protected]>
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;
 

Reply via email to