about summary refs log tree commit diff stats
path: root/src/LYCookie.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-05-13 02:10:32 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-05-13 02:10:32 -0400
commit0bafa3a38906a8ffc183d758baa774d8b23a9fa4 (patch)
treeae40c4a9fa3a9dc049538d288ca3a2bc2fcf14da /src/LYCookie.c
parent169e8098be76947e6e1aa002052d9536dc9aa273 (diff)
downloadlynx-snapshots-0bafa3a38906a8ffc183d758baa774d8b23a9fa4.tar.gz
snapshot of project "lynx", label v2-8-2pre_3
Diffstat (limited to 'src/LYCookie.c')
-rw-r--r--src/LYCookie.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index a4ede1d3..9792e533 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -338,6 +338,8 @@ PRIVATE void store_cookie ARGS3(
 			    co = NULL;
 			    FREE(msg);
 			    return;
+			} else {
+			    FREE(msg);
 			}
 		}
 	}
@@ -2284,7 +2286,10 @@ PRIVATE int LYHandleCookies ARGS4 (
 			     *	Delete it if confirmed. - FM
 			     */
 			    if (HTConfirm(DELETE_COOKIE_CONFIRMATION) == FALSE)
+			    {
+				FREE(lynxID);
 				return(HT_NO_DATA);
+			    }
 			    HTList_removeObject(de->cookie_list, co);
 			    freeCookie(co);
 			    co = NULL;