1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/net/gtkhx/files/patch-src::xfers.c
Patrick Li 8ea9be01c0 Fix segfault, bump PORTREVISION
PR:		36376
Submitted by:	maintainer
2002-03-28 00:24:29 +00:00

14 lines
337 B
C

--- 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)) {