Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-04-09 10:21:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-09 10:21:17 +0300
commit089fc24c76a513347ce1f10a6a5d20707685d060 (patch)
treec21dee9fae30322b6e8ef3d06c8a9dce8c16c208 /source
parent5467260ce9af14d8bd4d88758e1925c88dafa8c8 (diff)
Fix for passing -1 to close()
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index bd0daf36147..80828533a31 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -4533,8 +4533,8 @@ static void image_update_views_format(Image *ima, ImageUser *iuser)
}
else {
iv = iv->prev;
+ close(file);
}
- close(file);
}
/* all good */