[PATCH] Re: Segfault on loading of non existent syntax file

Leonard den Ottolander leonard at den.ottolander.nl
Mon Mar 27 19:57:56 UTC 2006


Hi Pavel,

On Mon, 2006-03-27 at 11:08 +0200, Pavel Tsekov wrote:
> How about the attached fix ?

I assume g_malloc0 initializes edit->rules with zeros? This indeed fixes
the crash, but doesn't this cause a memory leak? Or is that memory freed
elsewhere?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the mc-devel mailing list