[PATCH] plug a memleak in attrib.c
Urs Janßen <[email protected]> Tue, 25 Mar 2008 19:44:15 +0100
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
--- attrib.c 2008-03-15 15:59:06.884481056 +0100 +++ attrib.c 2008-03-25 18:32:20.288906675 +0100 @@ -896,6 +896,9 @@ fprintf(fp, "undeclared_charset=%s\n", attr->undeclared_charset); # endif /* CHARSET_CONVERSION */ } + free(default_attr.mime_types_to_save); + FreeIfNeeded(default_attr.quick_kill_scope); + FreeIfNeeded(default_attr.quick_select_scope); } /* rename_file() preserves mode, so this is safe */