This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/5] Fix memory leak in exception code
Pedro> Why fix it like this, instead of fixing it like in the guile patch?
Pedro> I'd think you could even use a common POD type for both guile and here?
Tom> No particularly good reason. I'll change it.
Actually, there was a reason. Converting an exception to a POD means
copying the string contents.
Perhaps that isn't a big concern. I guess only exceptions escaping to
the top level will do this.
Tom