Fix segfault, bump PORTREVISION

PR:		36376
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-03-28 00:24:29 +00:00
parent 896c03e870
commit 8ea9be01c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56764
4 changed files with 28 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gtkhx
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtkhx

View File

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

View File

@ -7,6 +7,7 @@
PORTNAME= gtkhx
PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtkhx

View File

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