]> Savannah Git Hosting - gnulib.git/commit
copy-file: fix mem leak in error case
authorSimon Reinhardt <simon@keinstein.org>
Thu, 15 Oct 2015 18:35:29 +0000 (19:35 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 15 Oct 2015 18:41:20 +0000 (19:41 +0100)
commit40157ce2540282b1303d220a480429436d5ba407
tree63e231f591ad75c4a12d2a1380cd354d415537f2
parent63881a60d67422cd7b83eae5ecabdc6b67ea7192
copy-file: fix mem leak in error case

* lib/copy-file.c (qcopy_file_preserving): Free the 32KiB buffer
upon error opening or performing I/O to the src and dest files.
ChangeLog
lib/copy-file.c