Skip to content

Commit

Permalink
Don't double delete
Browse files Browse the repository at this point in the history
  • Loading branch information
schellingb committed Sep 8, 2024
1 parent 97291cf commit 67f6dc9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dos/drive_patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ struct patchDriveImpl
{
for (Patch_Entry* e : root.entries) Patch_Directory::DeleteEntry(e);
root.entries.Clear();
for (Patch_Directory* it : directories) delete it;
directories.Clear();
*variant_dir = '\0';
DriveFileIterator(patchzip, LoadFiles, (Bitu)this);
Expand Down

0 comments on commit 67f6dc9

Please sign in to comment.