file_mask_dialog() memory leak fix

Leonard den Ottolander leonard at den.ottolander.nl
Mon Nov 8 21:21:16 UTC 2004


Hi Pchel,

On Mon, 2004-11-08 at 17:56, Jindrich Novy wrote:
> I noticed a memory leak in file_mask_dialog() in src/filegui.c in the
> current CVS. The attached patch should fix it.
> 
> The cause of it is that g_strdup()ed def_text_secure is not g_free()d.

Your partial commit of the mc-CVS-strippwd.patch seems to cause havoc.
Instead of applying this patch please just commit the rest of that
patch.

Leonard.

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





More information about the mc-devel mailing list