diff options
author | rubidium <rubidium@openttd.org> | 2007-06-27 17:19:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-27 17:19:05 +0000 |
commit | 67f46b40ab1d3869e88bdc5a6508310638dfa23d (patch) | |
tree | b0d20222e199028e6c7ebc3a16cb76e98d6ef1b4 /src/blitter | |
parent | 3c5622ee9abec4dcc8bf938557b9c70c210a5715 (diff) | |
download | openttd-67f46b40ab1d3869e88bdc5a6508310638dfa23d.tar.xz |
(svn r10358) -Codechange: remove the cargopacket leakchecker as it never asserted in almost a week of stresstesting, so I'm pretty sure all cornercases are tested by now.
Diffstat (limited to 'src/blitter')
-rw-r--r-- | src/blitter/factory.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blitter/factory.hpp b/src/blitter/factory.hpp index a55250071..8f289c2ce 100644 --- a/src/blitter/factory.hpp +++ b/src/blitter/factory.hpp @@ -64,6 +64,7 @@ public: BlitterFactoryBase *b = (*it).second; if (strcasecmp(name, b->name) == 0) { Blitter *newb = b->CreateInstance(); + delete *GetActiveBlitter(); *GetActiveBlitter() = newb; return newb; } |