Follow up f4b1ff7426b1c4cd5e8cac37f7e3983cc03c706e

Memory leak from bug report 8090 which was created in f4b1ff7426b1c4cd5e8cac37f7e3983cc03c706e when I somehow managed to assume all instances consuming memory would be active.
Special Thanks to LordOdin!
http://hercules.ws/board/tracker/issue-8090-memory-leak/

Signed-off-by: shennetsind <ind@henn.et>