Ticket #3998 (closed defect: invalid)
label widget little possible memory leak
Reported by: | devnexen | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Detected by static code analysis tooling.
Attachments
Change History
Changed 5 years ago by devnexen
- Attachment patch-lib-widget-quick_c.diff added
comment:1 Changed 5 years ago by andrew_b
- Status changed from new to closed
- Resolution set to invalid
There is no memleak here.
quick_create_labeled_input() isn't called if label location is input_label_none (quick.c:241).
In other cases the default branch (quick.c:147) must not be reached. If it is reached, there is the bug and should be fixed.
Note: See
TracTickets for help on using
tickets.
fix proposal