aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/gtkhx/files
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-03-28 08:24:29 +0800
committerpat <pat@FreeBSD.org>2002-03-28 08:24:29 +0800
commit1a7bb3b5437b5112ae762cd2b0d2cb898cefb275 (patch)
treeb5e25106b8f83e4807e58cb73ac15c87bde31353 /net-p2p/gtkhx/files
parent8b1390149b849f66c077bdc5204cd321bbf0079a (diff)
downloadfreebsd-ports-gnome-1a7bb3b5437b5112ae762cd2b0d2cb898cefb275.tar.gz
freebsd-ports-gnome-1a7bb3b5437b5112ae762cd2b0d2cb898cefb275.tar.zst
freebsd-ports-gnome-1a7bb3b5437b5112ae762cd2b0d2cb898cefb275.zip
Fix segfault, bump PORTREVISION
PR: 36376 Submitted by: maintainer
Diffstat (limited to 'net-p2p/gtkhx/files')
-rw-r--r--net-p2p/gtkhx/files/patch-src::xfers.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-p2p/gtkhx/files/patch-src::xfers.c b/net-p2p/gtkhx/files/patch-src::xfers.c
new file mode 100644
index 000000000000..a63102e158fa
--- /dev/null
+++ b/net-p2p/gtkhx/files/patch-src::xfers.c
@@ -0,0 +1,13 @@
+--- src/xfers.c.orig Fri Mar 22 16:26:04 2002
++++ src/xfers.c Tue Mar 26 17:39:53 2002
+@@ -611,7 +611,9 @@
+ pthread_join(htxf->tid, &thread_retval);
+ }
+ #ifdef USE_IPV6
+- freeaddrinfo(htxf->listen_addr);
++ if(htxf->listen_addr) {
++ freeaddrinfo(htxf->listen_addr);
++ }
+ #endif
+ g_free(htxf);
+ if (nxfers > (i+1)) {