Just like top.c/command_line_input. history_expand allocates memory which must be freed. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 175.txt URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070808/5cea4b04/attachment.txt>