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



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]