diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2008-03-14 22:40:36 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2008-03-14 22:40:36 +0000 |
commit | d6f37be734ef9527db251e787803de56ef1505dc (patch) | |
tree | 1332b07f793af722bfa8f7a08a71422ab5f5f01b /lib/libarchive/archive_write_disk.c | |
parent | 42d1f7b4bab0036b25eba3d93e7f37c361fc38e9 (diff) |
Let archive_entry_clear() accept a NULL pointer and simply do nothing.
In particular, this allows archive_entry_free() to work correctly
for a NULL pointer, which makes it parallel with free(3).
Notes
Notes:
svn path=/head/; revision=177188
Diffstat (limited to 'lib/libarchive/archive_write_disk.c')
0 files changed, 0 insertions, 0 deletions