Fix global leak in DummyContactsResource