From b223937ff728f8242329bedb9c660e81da253e9a Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 13 Apr 1999 09:48:41 -0400 Subject: snapshot of project "lynx", label v2-8-2dev_22 --- WWW/Library/Implementation/HTAnchor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'WWW/Library/Implementation/HTAnchor.c') diff --git a/WWW/Library/Implementation/HTAnchor.c b/WWW/Library/Implementation/HTAnchor.c index aa6a8875..22af2bfb 100644 --- a/WWW/Library/Implementation/HTAnchor.c +++ b/WWW/Library/Implementation/HTAnchor.c @@ -377,7 +377,9 @@ PUBLIC HTAnchor * HTAnchor_findAddress ARGS1( adult_table = (HTList **)calloc(HASH_SIZE, sizeof(HTList *)); if (!adult_table) outofmem(__FILE__, "HTAnchor_findAddress"); +#ifdef LY_FIND_LEAKS atexit(free_adult_table); +#endif } if (!adult_table[hash]) adult_table[hash] = HTList_new(); -- cgit 1.4.1-2-gfad0