lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev [dev16] minor cookie crumbs


From: Kim DeVaughn
Subject: lynx-dev [dev16] minor cookie crumbs
Date: Thu, 11 Feb 1999 01:12:15 -0800

When I compile/run dev.16 with  --enable-find-leaks  configured, I am
getting the following memory leak report on exiting lynx:

 > Memory leak detected.
 > Pointer:     0x161170
 > Contains::   |
 > ByteSize:    1
 > FileName:    ./LYrcFile.c
 > LineCount:   450
 >
 > Memory leak detected.
 > Pointer:     0x161160
 > Contains::   |
 > ByteSize:    1
 > FileName:    ./LYrcFile.c
 > LineCount:   442
 >
 > Memory leak detected.
 > Pointer:     0x161140
 > Contains::   |
 > ByteSize:    1
 > FileName:    ./LYrcFile.c
 > LineCount:   434
 >
 >
 > Total memory leakage this run:       3

which appears to be related to the StrAllocCopy() calls in LYrcFile.c:

        /*
         *  Cookie domains to perform loose checks?
         */
        } else if (FIND_KEYWORD(cp, "cookie_loose_invalid_domains")) {
            cp = SkipEquals(cp);
            StrAllocCopy(LYCookieLooseCheckDomains, cp);
            cookie_set_invcheck(LYCookieLooseCheckDomains, INVCHECK_LOOSE);

        /*
         *  Cookie domains to perform strict checks?
         */
        } else if (FIND_KEYWORD(cp, "cookie_strict_invalid_domains")) {
            cp = SkipEquals(cp);
            StrAllocCopy(LYCookieStrictCheckDomains, cp);
            cookie_set_invcheck(LYCookieStrictCheckDomains, INVCHECK_STRICT);

        /*
         *  Cookie domains to query user over invalid cookies?
         */
        } else if (FIND_KEYWORD(cp, "cookie_query_invalid_domains")) {
            cp = SkipEquals(cp);
            StrAllocCopy(LYCookieQueryCheckDomains, cp);
            cookie_set_invcheck(LYCookieQueryCheckDomains, INVCHECK_QUERY);

This happens even when just starting up lynx on my default page (which
has NO cookie code of any kind in it).

/kim

reply via email to

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