diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-03 10:08:51 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-03 10:08:51 +0000 |
| commit | 1d93a1663bb79677fcbd5603f94095f9ddbeea16 (patch) | |
| tree | 3d2196d0a0d3ae8ef956da17078bb1bc338a1868 /src | |
| parent | 048ec58bfd4b96a8bcc7271493424c3b5d95a0a3 (diff) | |
Fix double-free in curl uploader.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/curl_uploader.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/curl_uploader.cc b/src/lib/curl_uploader.cc index d996fde53..11c389307 100644 --- a/src/lib/curl_uploader.cc +++ b/src/lib/curl_uploader.cc @@ -92,6 +92,7 @@ CurlUploader::upload_file (boost::filesystem::path from, boost::filesystem::path } fclose (_file); + _file = 0; } size_t |
