Opened 5 years ago

Closed 4 years ago

#11142 closed defect (fixed)

HDB: Memory leaks

Reported by: bgK Owned by: sev-
Priority: high Component: Engine: HDB
Version: 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 5 years ago.
Memory leaks report
hdb-leaks-v2.txt (113.2 KB ) - added by bgK 5 years ago.
Updated leaks report after first round of fixes

Download all attachments as: .zip

Change History (6)

by bgK, 5 years ago

Attachment: hdb-leaks-report.txt added

Memory leaks report

comment:1 by digitall, 5 years 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, 5 years ago

Attachment: hdb-leaks-v2.txt added

Updated leaks report after first round of fixes

comment:2 by bgK, 5 years ago

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

comment:3 by sev-, 4 years ago

Priority: normalhigh

comment:4 by sev-, 4 years 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.