summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp')
-rw-r--r--tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp b/tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp
index 46f4f1028d..b8b6ec7717 100644
--- a/tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp
+++ b/tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp
@@ -9,6 +9,7 @@ int main(int argc, char **argv)
if (QResource::registerResource("rcc_file.rcc") &&
QFile::exists("://resource_file.txt") && QFile::exists("://resource_file_two.txt"))
{
+ QResource::unregisterResource("rcc_file.rcc"); // avoid leaks
return 0;
}