Ticket #3998 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

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

patch-lib-widget-quick_c.diff (334 bytes) - added by devnexen 5 years ago.
fix proposal

Change History

Changed 5 years ago by devnexen

fix proposal

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.

comment:2 Changed 5 years ago by andrew_b

  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.