]> Dogcows Code - chaz/tar/commit
tar: if (p) free (p); -> free (p);
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Feb 2011 21:47:00 +0000 (13:47 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Feb 2011 21:47:28 +0000 (13:47 -0800)
commit280751384120a61d8858bea0217061a98434f073
tree3bafd4eedc4e121e7c63c58720c9dd68a35af2df
parentbb0af96c548dbaf1f60e52dd9665c2681d5f9ade
tar: if (p) free (p); -> free (p);

There is no longer (since SunOS 4) any need to guard against
free (NULL), so replace each "if (p) free (p);" with "free (p);".
From Jim Meyering in
<http://lists.gnu.org/archive/html/bug-tar/2011-01/msg00026.html>.
* src/incremen.c (scan_directory, read_directory_file): As above.
(try_purge_directory): Likewise.
* src/list.c (read_header): Likewise.
* src/misc.c (assign_string): Likewise.
src/incremen.c
src/list.c
src/misc.c
This page took 0.025279 seconds and 4 git commands to generate.