Pádraig Brady
09bbb2b703
maint: consistently free hash structures in dev mode
...
Ensure we call hash_free() to avoid valgrind and leak_sanitizer
"definitely lost" warnings. These were not real leaks as
we terminate immediately after, but we should avoid these
"definitely lost" warnings where possible.
* src/copy.c: Add dest_info_free() and src_info_free().
* src/copy.h: Declare the above.
* src/cp-hash.c: Don't define unless "lint" is defined.
* src/install.c: Call dest_info_free() in dev mode.
* src/mv.c: Likewise.
* src/cp.c: Likewise. Also call src_info_free().
* src/ln.c: Call hash_free() in dev mode.
* src/tail.c: Call hash_free() even if about to exit, in dev mode.
Fixes https://bugs.gnu.org/48189
2021-05-08 14:57:33 +01:00
..
2020-02-25 13:51:21 +00:00
2021-03-29 14:10:09 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-02-10 14:17:26 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-05-08 14:57:33 +01:00
2021-05-08 14:57:33 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-04-26 23:32:45 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2019-05-11 13:55:54 -07:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2018-10-19 12:38:34 -07:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-03-25 11:21:15 -07:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-05-08 14:57:33 +01:00
2021-05-02 20:51:37 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2012-01-09 21:51:59 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-26 23:32:45 -07:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-02-19 11:35:30 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-05-08 14:57:33 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-05-01 15:47:13 -07:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2012-01-09 21:51:59 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-04-11 18:33:45 +01:00
2021-04-11 18:33:45 +01:00
2021-05-02 20:51:37 +01:00
2021-05-02 20:51:37 +01:00
2021-04-11 18:33:45 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00