[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV color style code, LWV's dbx results
From: |
Klaus Weide |
Subject: |
Re: LYNX-DEV color style code, LWV's dbx results |
Date: |
Fri, 17 Oct 1997 09:52:38 -0500 (CDT) |
On Thu, 16 Oct 1997, Larry W. Virden, x2487 wrote:
> >Or replace in HTTP.c
> >line_buffer = (char *) malloc(buffer_length * sizeof(char));
> >with
> >line_buffer = (char *) calloc(buffer_length, sizeof(char));
> >and
> >line_kept_clean = (char *)malloc (buffer_length * sizeof (char));
> >(immediately preceding the memcpy) with
> >line_kept_clean = (char *)calloc (buffer_length, sizeof (char));
>
> I did that and things went swimmingly! Here is the results:
> Checking for memory leaks...
>
> Actual leaks report (actual leaks: 8 total size: 24 bytes)
>
> Total Num of Leaked Allocation call stack
> Size Blocks Block
> Address
> ====== ====== ========== =======================================
> 12 4 - HTSACopy < HText_beginInput
> 12 4 - HTSACopy < HText_beginInput
>
[ Rest snipped - doesn't seem to be about Lynx functions ]
Ok, I hope we are all happy about this :)
If you want to help trach down remaining memory leaks, maybe now is the
time to --enable-find-leaks again and run with that; then look at the
Lynx.leaks file that should be generated.
(Lynx will run slower with it, especially "uncaching" of long docs may
take long; so maybe you don't want this for normal use.)
Klaus
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;