Opened 14 months ago

Closed 2 months ago

#11142 closed defect (fixed)

HDB: Memory leaks

Reported by: bgK Owned by: sev-
Priority: high Component: Engine: HDB
Keywords: Cc:
Game:

Description

ScummVM 2.1.0git-8197-g997e15878a

When running HDB with AddressSanitizer, the report contains a lot of memory leaks.

Step to reproduce: Start the game and proceed until the first level loads, then quit.

Attachments (2)

hdb-leaks-report.txt (435.2 KB ) - added by bgK 14 months ago.
Memory leaks report
hdb-leaks-v2.txt (113.2 KB ) - added by bgK 12 months ago.
Updated leaks report after first round of fixes

Download all attachments as: .zip

Change History (6)

by bgK, 14 months ago

Attachment: hdb-leaks-report.txt added

Memory leaks report

comment:1 by digitall, 12 months ago

@bgK: As a fair percentage of fixes have been applied to HDB, could you upload an updated leak report for the current git master version please? I can run valgrind with leak check, but just wanted to see what you are getting currently.

by bgK, 12 months ago

Attachment: hdb-leaks-v2.txt added

Updated leaks report after first round of fixes

comment:2 by bgK, 12 months ago

Indeed, the amount of leaks has been reduced! I've attached a new report.

comment:3 by sev-, 2 months ago

Priority: normalhigh

comment:4 by sev-, 2 months ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

I fixed most of them if not all.

Note: See TracTickets for help on using tickets.