diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-09 10:21:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-09 10:21:17 +0300 |
commit | 089fc24c76a513347ce1f10a6a5d20707685d060 (patch) | |
tree | c21dee9fae30322b6e8ef3d06c8a9dce8c16c208 /source/blender/blenkernel/intern/image.c | |
parent | 5467260ce9af14d8bd4d88758e1925c88dafa8c8 (diff) |
Fix for passing -1 to close()
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 2 |
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 */ |