lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH][pre2] Another minor cookie leak


From: John Bley
Subject: lynx-dev [PATCH][pre2] Another minor cookie leak
Date: Mon, 10 May 1999 04:40:41 -0400 (EDT)

* Fix another minor (~ 7 bytes) leak in LYCookie.c (John Bley)

-- 
John Bley - address@hidden
Duke '99 - English/Computer Science
  Since English is a mess, it maps well onto the problem space,
  which is also a mess, which we call reality.     - Larry Wall

diff -Burp lynx2-8-2/src/LYCookie.c lynx2-8-2-patched/src/LYCookie.c
--- lynx2-8-2/src/LYCookie.c    Sat May  8 13:46:28 1999
+++ lynx2-8-2-patched/src/LYCookie.c    Mon May 10 04:36:13 1999
@@ -2284,7 +2284,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;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]