summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-rw-r--r--cpp/src/Ice/UdpTransceiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp
index b1b3c8562b6..072fbe52da1 100644
--- a/cpp/src/Ice/UdpTransceiver.cpp
+++ b/cpp/src/Ice/UdpTransceiver.cpp
@@ -821,7 +821,7 @@ IceInternal::UdpTransceiver::toDetailedString() const
Ice::ConnectionInfoPtr
IceInternal::UdpTransceiver::getInfo() const
{
- Ice::UDPConnectionInfoPtr info = new Ice::UDPConnectionInfo();
+ Ice::UDPConnectionInfoPtr info = ICE_MAKE_SHARED(Ice::UDPConnectionInfo);
#if defined(ICE_OS_WINRT)
if(isMulticast(_addr) || isAddressValid(_mcastAddr))
{