Add dwarf2_per_objfile member to DWARF batons
[deliverable/binutils-gdb.git] / gdb / cp-abi.c
index 6997a7bdbe9be53e0248b9cbb2e380b194137b13..3e2edad45ca3aedf3cc46bc6b140d4c6c0821e28 100644 (file)
@@ -273,10 +273,8 @@ set_cp_abi_as_auto_default (const char *short_name)
                    _("Cannot find C++ ABI \"%s\" to set it as auto default."),
                    short_name);
 
-  if (auto_cp_abi.longname != NULL)
-    xfree ((char *) auto_cp_abi.longname);
-  if (auto_cp_abi.doc != NULL)
-    xfree ((char *) auto_cp_abi.doc);
+  xfree ((char *) auto_cp_abi.longname);
+  xfree ((char *) auto_cp_abi.doc);
 
   auto_cp_abi = *abi;
 
This page took 0.026873 seconds and 4 git commands to generate.