mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
If a function that returns an allocated pointer is passed directly into something that does not take ownership of the pointer, the allocation is leaked. This can be fixed by assigning the pointer to a new variable and freeing it after operation on the memory. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
gtest-path-utilities.cpp | ||
test-gnc-glib-utils.c | ||
test-resolve-file-path.c | ||
test-userdata-dir-invalid-home.c | ||
test-userdata-dir.c |