Fix 'category' leak