about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2009-09-06 18:49:56 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2009-09-06 18:49:56 -0400
commit0890416a30a4441e6936c039207c13cc623678db (patch)
tree3c6a676773b1554627e7f9a8f5b2a30b194eaab6 /WWW/Library/Implementation
parent93cdba5dd1db5b258d23766fe9f082cb01ef10de (diff)
downloadlynx-snapshots-0890416a30a4441e6936c039207c13cc623678db.tar.gz
snapshot of project "lynx", label v2-8-8dev_1a
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTParse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTParse.c b/WWW/Library/Implementation/HTParse.c
index 0505c634..4c2a63bc 100644
--- a/WWW/Library/Implementation/HTParse.c
+++ b/WWW/Library/Implementation/HTParse.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTParse.c,v 1.52 2009/08/27 18:43:30 tom Exp $
+ * $LynxId: HTParse.c,v 1.53 2009/09/06 18:18:06 tom Exp $
  *
  *		Parse HyperText Document Address		HTParse.c
  *		================================
@@ -280,8 +280,8 @@ static void convert_to_idna(char *host)
 	code = idna_to_ascii_8z(buffer, &output, IDNA_USE_STD3_ASCII_RULES);
 	if (code == IDNA_SUCCESS) {
 	    strcpy(host, output);
-	    free(output);
 	}
+	FREE(output);
 	free(buffer);
     }
 }