aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_write_disk.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2008-03-14 22:40:36 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2008-03-14 22:40:36 +0000
commitd6f37be734ef9527db251e787803de56ef1505dc (patch)
tree1332b07f793af722bfa8f7a08a71422ab5f5f01b /lib/libarchive/archive_write_disk.c
parent42d1f7b4bab0036b25eba3d93e7f37c361fc38e9 (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