Has a BUG: double free.