Skip to content

Commit e336eac

Browse files
authored
Merge pull request #408 from Gusgo99/fix_leak_on_failure_to_load_renderable
Fix leak on failure to load renderable
2 parents db5f827 + a48249f commit e336eac

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

olcPixelGameEngine.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,6 @@ namespace olc
22072207
}
22082208
else
22092209
{
2210-
pSprite.release();
22112210
pSprite = nullptr;
22122211
return olc::rcode::NO_FILE;
22132212
}

0 commit comments

Comments
 (0)