Fixed memleak in SessionManager (missing dtor)