Re: Memory leak in scm_c_eval_string?

2005-12-19 Thread Michael J. Barillier
> "kr" == Kevin Ryde <[EMAIL PROTECTED]> writes: >> Am I needlessly worrying about this? kr> Yep. When there are no more pointers to an object, it's reaped. D'oh - forgive the mental lapse. GC reaps objects no longer pointed *to* - I knew that. The other bit I was missing was tha

[PATCH] Improved `scm_from_locale_symbol ()' + `scm_take_locale_symbol ()'

2005-12-19 Thread Ludovic Courtès
Hi, The patch below does two things: 1. It introduces `scm_take_locale_symbol ()'. 2. It modifies `scm_from_locale_symbol ()' so that it doesn't create a Scheme string to do the job. This second modification has a nice effect: it can significantly reduce the number of objects created at l