Преглед изворни кода

Fix a mistake call to inflateEnd when it should be deflateEnd.

mingodad пре 13 година
родитељ
комит
4a79190fef
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      ext/fpdf.cpp

+ 1 - 1
ext/fpdf.cpp

@@ -74,7 +74,7 @@ std::string & gzcompress (std::string & dest, std::string const & src)
             break;
         if (err != Z_OK)
         {
-            inflateEnd(&stream);
+            deflateEnd(&stream);
             throw "Could not uncompress data !";
         }
         nExtraChunks += 1;