diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-03 01:52:50 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2012-02-03 01:52:50 -0500 |
commit | 216dac017cbab83edefde32cfc4feac0c7cc13de (patch) | |
tree | 5e7b9e75e49c35878c1df86e9aec67b2ce61d591 /WWW/Library/Implementation/HTAccess.c | |
parent | 21dd45fc8fe8ba9b7bb06f34f5b7d73597594220 (diff) | |
download | lynx-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.c | 7 |
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:"); |