The callee saves its own copy. This is just a memory leak. Checked in. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: xstrdup.txt URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110302/8f169368/attachment.txt>