file_mask_dialog() memory leak fix

Jindrich Novy jnovy at redhat.com
Mon Nov 8 16:56:46 UTC 2004


Hello,

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.

greetings,
Jindrich

-- 
Jindrich Novy <jnovy at redhat.com>, http://people.redhat.com/jnovy/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-CVS-20041108-memleak.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041108/f67baf37/attachment.bin>


More information about the mc-devel mailing list