summaryrefslogtreecommitdiff
path: root/third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch')
-rw-r--r--third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch b/third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch
index 13aef44d91..e3b4bd8964 100644
--- a/third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch
+++ b/third_party/libtiff/0021-fix-leaks-ojpegreaderinfosectables.patch
@@ -1,12 +1,12 @@
diff --git a/third_party/libtiff/tif_ojpeg.c b/third_party/libtiff/tif_ojpeg.c
-index f69b00148..1a700d5bc 100644
+index f69b00148..276d562df 100644
--- a/third_party/libtiff/tif_ojpeg.c
+++ b/third_party/libtiff/tif_ojpeg.c
@@ -1794,6 +1794,8 @@ OJPEGReadHeaderInfoSecTablesQTable(TIFF* tif)
_TIFFfree(ob);
return(0);
}
-+ if(sp->qtable[m]!=0)
++ if (sp->qtable[m]!=0)
+ _TIFFfree(sp->qtable[m]);
sp->qtable[m]=ob;
sp->sof_tq[m]=m;
@@ -15,7 +15,7 @@ index f69b00148..1a700d5bc 100644
_TIFFfree(rb);
return(0);
}
-+ if(sp->dctable[m]!=0)
++ if (sp->dctable[m]!=0)
+ _TIFFfree(sp->dctable[m]);
sp->dctable[m]=rb;
sp->sos_tda[m]=(m<<4);
@@ -24,7 +24,7 @@ index f69b00148..1a700d5bc 100644
_TIFFfree(rb);
return(0);
}
-+ if(sp->actable[m])
++ if (sp->actable[m])
+ _TIFFfree(sp->actable[m]);
sp->actable[m]=rb;
sp->sos_tda[m]=(sp->sos_tda[m]|m);