head 1.2; access; symbols pkgsrc-2022Q1:1.1.0.6 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.4 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.2 pkgsrc-2021Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2022.06.17.18.09.24; author tnn; state dead; branches; next 1.1; commitid FPTT2nuX3a0r9qID; 1.1 date 2021.06.25.09.49.24; author tnn; state Exp; branches; next ; commitid u0KZYkfbYqp8RuYC; desc @@ 1.2 log @synergy: update to 1.14.4.37 Bug fixes: Double lines when pasting text from Linux to Windows Address issues with modifiers and dead keys Fix compilation issues for FreeBSD Memory leaks in language sync and TLS functionality Memory leaks in copy/paste and drag and drop functionality Disable drag and drop by default @ text @$NetBSD: patch-src_lib_arch_unix_ArchNetworkBSD.cpp,v 1.1 2021/06/25 09:49:24 tnn Exp $ https://github.com/symless/synergy-core/issues/7045 --- src/lib/arch/unix/ArchNetworkBSD.cpp.orig 2021-06-08 13:44:14.000000000 +0000 +++ src/lib/arch/unix/ArchNetworkBSD.cpp @@@@ -679,6 +679,7 @@@@ ArchNetworkBSD::nameToAddr(const std::st char ipstr[INET6_ADDRSTRLEN]; struct addrinfo hints; struct addrinfo *pResult; + struct addrinfo *pOrigResult; struct in6_addr serveraddr; int ret; @@@@ -703,6 +704,7 @@@@ ArchNetworkBSD::nameToAddr(const std::st ARCH->unlockMutex(m_mutex); throwNameError(ret); } + pOrigResult = pResult; for(; pResult != nullptr; pResult = pResult->ai_next ) { addresses.push_back(new ArchNetAddressImpl); @@@@ -715,7 +717,7 @@@@ ArchNetworkBSD::nameToAddr(const std::st memcpy(&addresses.back()->m_addr, pResult->ai_addr, addresses.back()->m_len); } - freeaddrinfo(pResult); + freeaddrinfo(pOrigResult); ARCH->unlockMutex(m_mutex); return addresses; @ 1.1 log @synergy: update to 1.14.0.4 - bug fixes - build system fixes - code quality improvements @ text @d1 1 a1 1 $NetBSD$ @