Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
5.12.12
-
None
Description
A successful call to QFile::copy() creates a memory leak.
Attached is a minimal reproductible example.
Memory leak was observed using valgrind with the following command line parameters :
valgrind --tool=memcheck --undef-value-errors=no --leak-resolution=med --leak-check=yes --errors-for-leak-kinds=definite --show-leak-kinds=definite --num-callers=55 --log-file=valgrind-test-out.txt ./QtFileLeak
Please note the leak only occurs on a successful copy. On a failed one there is no leak.