]> granicus.if.org Git - python/commit
setup_readline(): Added a comment about memory leak (reported by
authorBarry Warsaw <barry@python.org>
Fri, 29 Jan 1999 21:55:03 +0000 (21:55 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 29 Jan 1999 21:55:03 +0000 (21:55 +0000)
commitf761287e0aaa282c564ca15fde56e5d8e9af8f29
tree4842232d92342372e405f8be03066f5a25323d2f
parent1c7aaa2d730813793d8a138d170360b0d420576a
setup_readline(): Added a comment about memory leak (reported by
Purify) being caused by a bug in the readline library.  Nothing we can
do about it.

Cause: readline_initialize_everything() throws away the return value
from rl_read_init_file(), but that happens to be the last reference to
a dynamically allocated char*.
Modules/readline.c