Ticket #1421 (closed defect: fixed)
Memory leak in file_mask_dialog()
Reported by: | andrew_b | Owned by: | andrew_b |
---|---|---|---|
Priority: | critical | Milestone: | 4.7.0-pre1 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: | committed-master |
Description
There is a memory leak in file_mask_dialog() function.
The def_text_secure2 variable is not freed in the following place:
if ((val = quick_dialog_skip (&Quick_input, SKIP)) == B_CANCEL) { g_free (def_text_secure); return 0; }
Change History
comment:1 Changed 15 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
comment:2 Changed 15 years ago by andrew_b
- severity changed from no branch to on review
Created 1421_file_mask_dialog_memleak branch. Parent branch: master.
changeset:353e316fc27738dc7313a01d2fca9f68b911426f
comment:4 Changed 15 years ago by iNode
- Votes for changeset changed from slavazanko to slavazanko iNode
- severity changed from on review to approved
Looks good. Thanks.
comment:5 Changed 15 years ago by andrew_b
- Votes for changeset changed from slavazanko iNode to commited-master
- severity changed from approved to merged
Merged to master.
changeset:d0b4830e0fc529da94e1d65203ce42a7991ef168
Note: See
TracTickets for help on using
tickets.