diff --git a/libtiff/tif_stream.cxx b/libtiff/tif_stream.cxx index f036f3e2..7f640a9c 100644 --- a/libtiff/tif_stream.cxx +++ b/libtiff/tif_stream.cxx @@ -374,7 +374,7 @@ _tiffStreamOpen(const char* name, const char* mode, void *fd) _tiffDummyMapProc, _tiffDummyUnmapProc); if (!tif) { - delete data; + delete data; } } else { tiffis_data *data = new tiffis_data; @@ -391,7 +391,7 @@ _tiffStreamOpen(const char* name, const char* mode, void *fd) _tiffDummyMapProc, _tiffDummyUnmapProc); if (!tif) { - delete data; + delete data; } }