Re: [PATCH] string_to_cstring memory leaks

2005-07-23 Thread Leopold Toetsch
Jonathan Worthington wrote: * Memory leak - string_to_cstring returns a malloced string, which isn't freed everywhere Thanks, applied -r8671 Note - yes, I know many of the strings are passed to internal_excpection, but IIRC many of those will be becoming real_exceptions in the future, so it

[PATCH] string_to_cstring memory leaks

2005-07-21 Thread Jonathan Worthington
Hi, From docs/ROADMAP * Memory leak - string_to_cstring returns a malloced string, which isn't freed everywhere A quick grep through the src folder found a few cases like this. I may have missed some, but this patch fixes those I spotted. Compiles, passes all tests (apart from dynclasse