diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-04-13 09:48:41 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-04-13 09:48:41 -0400 |
commit | b223937ff728f8242329bedb9c660e81da253e9a (patch) | |
tree | bbf056969500f54306deda5db38ff2a6198f3ce9 /WWW/Library/Implementation/HTAnchor.c | |
parent | 327b7c16889c9d95ec076d695c970da11dc32a2b (diff) | |
download | lynx-snapshots-b223937ff728f8242329bedb9c660e81da253e9a.tar.gz |
snapshot of project "lynx", label v2-8-2dev_22
Diffstat (limited to 'WWW/Library/Implementation/HTAnchor.c')
-rw-r--r-- | WWW/Library/Implementation/HTAnchor.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |