diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-14 10:02:01 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-02-14 10:05:42 -0700 |
commit | 291bd19a1a16399300022020c93d4d1b253aefc6 (patch) | |
tree | ec5c0aa2556cd6633657ef762e3c287cd8a4e789 /progs/objviewer | |
parent | e84eec0003d162594c3468dc7774c2b7df9fcae2 (diff) | |
download | external_mesa3d-291bd19a1a16399300022020c93d4d1b253aefc6.zip external_mesa3d-291bd19a1a16399300022020c93d4d1b253aefc6.tar.gz external_mesa3d-291bd19a1a16399300022020c93d4d1b253aefc6.tar.bz2 |
progs/objviewer: close file (bug 26559)
Diffstat (limited to 'progs/objviewer')
-rw-r--r-- | progs/objviewer/glm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/objviewer/glm.c b/progs/objviewer/glm.c index 7f36cdf..7c964e4 100644 --- a/progs/objviewer/glm.c +++ b/progs/objviewer/glm.c @@ -421,6 +421,7 @@ _glmReadMTL(GLMmodel* model, char* name) break; } } + fclose(file); } @@ -475,6 +476,7 @@ _glmWriteMTL(GLMmodel* model, char* modelpath, char* mtllibname) fprintf(file, "Ns %f\n", material->shininess); fprintf(file, "\n"); } + fclose(file); } |