diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-07-06 10:45:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-06 10:45:29 (GMT) |
commit | f2cd8f4550d1355a46c68b98036bd4cb22e53afb (patch) | |
tree | d9fb7731c936ab9fe6c9e6e9a62446e599672ff5 /src/dotrunner.cpp | |
parent | d5f4f0a82cfccf686697a5c5a53fb8b022ae5573 (diff) | |
parent | 5059d796ea951d06cebc55f1a9158a8dd001af0e (diff) | |
download | Doxygen-f2cd8f4550d1355a46c68b98036bd4cb22e53afb.zip Doxygen-f2cd8f4550d1355a46c68b98036bd4cb22e53afb.tar.gz Doxygen-f2cd8f4550d1355a46c68b98036bd4cb22e53afb.tar.bz2 |
Merge pull request #7098 from albert-github/feature/bug_coverity
High consequence coverity mesages
Diffstat (limited to 'src/dotrunner.cpp')
-rw-r--r-- | src/dotrunner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotrunner.cpp b/src/dotrunner.cpp index b7ddda1..22a0081 100644 --- a/src/dotrunner.cpp +++ b/src/dotrunner.cpp @@ -128,6 +128,7 @@ bool DotRunner::readBoundingBox(const char *fileName,int *width,int *height,bool if (p) // found PageBoundingBox or /MediaBox string { int x,y; + fclose(f); if (sscanf(p+bblen,"%d %d %d %d",&x,&y,width,height)!=4) { //printf("readBoundingBox sscanf fail\n"); @@ -137,6 +138,7 @@ bool DotRunner::readBoundingBox(const char *fileName,int *width,int *height,bool } } err("Failed to extract bounding box from generated diagram file %s\n",fileName); + fclose(f); return FALSE; } |