This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: readline/histexpand.c, resource leak


msnyder@sonic.net writes:
> Yeaaaahh... maybe the attached is better?  Or is this use
> of goto a little opaque?

Personally, I'd add a new function 'free_history_words' and call it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]