bind9/tests
Ondřej Surý 855960ce46
Rename 'free' variable to 'nfree' to not clash with free()
The beauty and horrors of the C - the compiler properly detects variable
shadowing, but you can freely shadow a standard function 'free()' with
variable called 'free'.  And if you reference 'free()' just as 'free'
you get the function pointer which means you can do also pointer
arithmetics, so 'free > 0' is always valid even when you delete the
local variable.

Replace the local variables 'free' with a name that doesn't shadow the
'free()' function to prevent future hard to detect bugs.
2025-07-22 09:32:56 +02:00
..
bench Rename DNS_DB_NSEC_ constants to DNS_DBNAMESPACE_ 2025-07-10 13:52:59 +00:00
dns Remove unused link field from rdatacommon 2025-07-17 12:57:51 +02:00
include/tests Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
isc Fix the DoH unit test for meson 2025-07-10 17:06:19 +03:00
isccfg replace the build system with meson 2025-06-11 10:30:12 +03:00
libtest Rename 'free' variable to 'nfree' to not clash with free() 2025-07-22 09:32:56 +02:00
ns Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00