diff --git a/frameworks/proxy/events/test/input_manager_filter_manual_test.cpp b/frameworks/proxy/events/test/input_manager_filter_manual_test.cpp index 677c1e80927e1cadfa957ec4f903dac39e5ebbfb..8e3e1a1e7e4508b3e353d261b1ef12d0fa9feadb 100644 --- a/frameworks/proxy/events/test/input_manager_filter_manual_test.cpp +++ b/frameworks/proxy/events/test/input_manager_filter_manual_test.cpp @@ -135,8 +135,8 @@ public: if (fgets(buf, 255, fp) != NULL) { pid = atoi(buf); } + pclose(fp); } - pclose(fp); return pid; } int32_t GetSelfHidumperFilterNum() const