Skip to content

Commit 7329d68

Browse files
committed
RSARScanner: Don't associate the sampColl with the instrSet
The instrSet takes ownership of the sampColl and will delete it on destruction. The VGMColl is enough to associate the two.
1 parent 17bb243 commit 7329d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/formats/RSARScanner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void RSARScanner::Scan(RawFile *file, void *info) {
267267
sampColl->LoadVGMFile();
268268
sampColls.push_back(sampColl);
269269

270-
VGMInstrSet *instrSet = new RSARInstrSet(file, rbnk->instr.offset, rbnk->instr.size, string2wstring(rbnk->name), sampColl);
270+
VGMInstrSet *instrSet = new RSARInstrSet(file, rbnk->instr.offset, rbnk->instr.size, string2wstring(rbnk->name));
271271
instrSet->LoadVGMFile();
272272
instrSets.push_back(instrSet);
273273
}

0 commit comments

Comments
 (0)