about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTAccess.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2012-02-03 01:52:50 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2012-02-03 01:52:50 -0500
commit216dac017cbab83edefde32cfc4feac0c7cc13de (patch)
tree5e7b9e75e49c35878c1df86e9aec67b2ce61d591 /WWW/Library/Implementation/HTAccess.c
parent21dd45fc8fe8ba9b7bb06f34f5b7d73597594220 (diff)
downloadlynx-snapshots-216dac017cbab83edefde32cfc4feac0c7cc13de.tar.gz
snapshot of project "lynx", label v2-8-8dev_9g
Diffstat (limited to 'WWW/Library/Implementation/HTAccess.c')
-rw-r--r--WWW/Library/Implementation/HTAccess.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTAccess.c b/WWW/Library/Implementation/HTAccess.c
index 63b4a04a..7587aa49 100644
--- a/WWW/Library/Implementation/HTAccess.c
+++ b/WWW/Library/Implementation/HTAccess.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTAccess.c,v 1.74 2011/05/24 09:35:29 tom Exp $
+ * $LynxId: HTAccess.c,v 1.75 2012/02/03 01:43:58 tom Exp $
  *
  *		Access Manager					HTAccess.c
  *		==============
@@ -687,6 +687,11 @@ static int HTLoad(const char *addr,
     HTProtocol *p;
     int status = get_physical(addr, anchor);
 
+    if (reloading) {
+	FREE(anchor->charset);
+	FREE(anchor->UCStages);
+    }
+
     if (status == HT_FORBIDDEN) {
 	/* prevent crash if telnet or similar was forbidden by rule. - kw */
 	LYFixCursesOn("show alert:");
' href='#n184'>184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224