Remove mempools when origin string is free'd.