bryan@UUNET.UU.NET (Bryan Boreham) (08/03/89)
diff -c dbxread.c~ dbxread.c *** dbxread.c~ Thu Jul 20 09:04:42 1989 --- dbxread.c Wed Aug 2 20:44:03 1989 *************** *** 3427,3433 **** perror_with_name (name); old_chain = make_cleanup (close, desc); ! make_cleanup (free_current_contents, &name); READ_FILE_HEADERS (desc, name); --- 3427,3437 ---- perror_with_name (name); old_chain = make_cleanup (close, desc); ! ! /* Change by Bryan Boreham, Kewill, Wed Aug 2 20:43:19 1989. ! name points into the middle of arg_string, so we don't want ! to free it here. */ ! /* make_cleanup (free_current_contents, &name); */ READ_FILE_HEADERS (desc, name); The comment should explain the problem; the memory in question is usually owned by command_line_input and shouldn't be free'd anyway. ET++ dynamically-linked applcations are now de-buggable; thanks to all the MCC people who pointed me at add-file. Bryan.