diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2003-01-22 10:09:18 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2003-01-22 10:09:18 -0500 |
commit | 533c7482785176296637df81cd1a6318a0c29f97 (patch) | |
tree | e50cece290409516ee62f08c8912863f5f1ba80a /WWW/Library/Implementation/HTFile.c | |
parent | 490d581c911f53008a7eaaed72b655cf40071b03 (diff) | |
download | lynx-snapshots-533c7482785176296637df81cd1a6318a0c29f97.tar.gz |
snapshot of project "lynx", label v2-8-5dev_13
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index 213e2e24..47754cd7 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -1279,10 +1279,12 @@ PUBLIC BOOL HTEditable ARGS1( PUBLIC HTStream * HTFileSaveStream ARGS1( HTParentAnchor *, anchor) { - CONST char * addr = HTAnchor_address((HTAnchor*)anchor); - char * localname = HTLocalName(addr); + char * addr = HTAnchor_address((HTAnchor*)anchor); + char * localname = HTLocalName(addr); + FILE * fp = fopen(localname, BIN_W); - FILE* fp = fopen(localname, BIN_W); + FREE(addr); + FREE(localname); if (!fp) return NULL; |