mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
Replace "if (x) free (x)" with "free (x)", binutils
* addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout. * dlltool.c: Likewise. * elfcomm.c: Likewise. * rddbg.c: Likewise. * readelf.c: Likewise. * stabs.c: Likewise. * windmc.c: Likewise. * windres.c: Likewise. * wrstabs.c: Likewise.
This commit is contained in:
@ -1161,12 +1161,9 @@ main (int argc, char **argv)
|
||||
}
|
||||
write_bin ();
|
||||
|
||||
if (mc_nodes_lang)
|
||||
free (mc_nodes_lang);
|
||||
if (mc_severity_codes)
|
||||
free (mc_severity_codes);
|
||||
if (mc_facility_codes)
|
||||
free (mc_facility_codes);
|
||||
free (mc_nodes_lang);
|
||||
free (mc_severity_codes);
|
||||
free (mc_facility_codes);
|
||||
|
||||
xexit (0);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user