fix a memleak in the browse service