fix memory leak in Key::SignCompact