g10: Fix double free when locating by mbox