summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-16 18:49:48 -0800
committerKonstantin Käfer <mail@kkaefer.com>2015-02-17 11:42:55 -0800
commitd16974264cff51f2c143ba646b2b50bf7a1b0ab1 (patch)
treed89b34fe8b837fadda58949618a8dc3cdcf67099 /platform
parent8f32c8ae7ad09f13229eed0ec75753f93c443adc (diff)
downloadqtlocation-mapboxgl-d16974264cff51f2c143ba646b2b50bf7a1b0ab1.tar.gz
update uv_zip
Diffstat (limited to 'platform')
-rw-r--r--platform/default/uv_zip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/default/uv_zip.c b/platform/default/uv_zip.c
index 51bd15e8e2..cb1b078988 100644
--- a/platform/default/uv_zip.c
+++ b/platform/default/uv_zip.c
@@ -118,6 +118,8 @@ void uv__zip_work_fclose(uv_work_t *req) {
zip->result = zip_fclose(zip->file);
if (zip->result != 0) {
uv__zip_file_error(zip);
+ } else {
+ zip->file = NULL;
}
}