diff --git a/bundlemanager/zlib/actszlibtest/ActsZlibTest.cpp b/bundlemanager/zlib/actszlibtest/ActsZlibTest.cpp index c96a9fa33cf11103a815bdf8a8550171347bf5d1..297b72adae6d0b065ab1c9f1a100ea301a13415b 100644 --- a/bundlemanager/zlib/actszlibtest/ActsZlibTest.cpp +++ b/bundlemanager/zlib/actszlibtest/ActsZlibTest.cpp @@ -1803,6 +1803,7 @@ HWTEST_F(ActsZlibTest, ActsZlibTestGzdopen, Function | MediumTest | Level2) int err = gzeof(file); fprintf(stderr, "gzeof result: %d\n", err); + fclose(fp); gzclose(file); #endif }