Fixed a global leak in multistore