Opened 6 years ago

Closed 6 years ago

#9866 closed bug (fixed)

[Locale Preflet] LocalePreflet.cpp: May cause memory leak

Reported by: mt Owned by: pulkomandy
Priority: normal Milestone: R1
Component: Preferences/Locale Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

In LocalePreflet::MessageReceived(), variable "window" is initialized twice, which may cause memory leak.

Attachments (2)

0002-Fix-memory-leak-for-LocalePreflet.cpp.patch (793 bytes ) - added by mt 6 years ago.
Patch
report-mq2NP5.html (16.6 KB ) - added by mt 6 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 6 years ago

Has a Patch: set

by mt, 6 years ago

Attachment: report-mq2NP5.html added

Report by Clang Static Analyzer

comment:2 by zooey, 6 years ago

Resolution: fixed
Status: newclosed

Fix applied in hrev45858 - thanks!

Note: See TracTickets for help on using tickets.