tb_property_free_dir(9)
β¨ NAME β¨
tb_property_free_dir β release the memory allocated for a property directory π
π§Ή
This is tb_property_free_dir(9), straight from the Kernel API Manual β and yes, the function name is the main character here πβ¨.
πΈ SYNOPSIS πΈ
void tb_property_free_dir (struct tb_property_dir *dir );
π ARGUMENTS π
dirβ directory to release π«Ά
π DESCRIPTION π
Okay so this function releases all the memory that the directory occupies, including all its descendants. The way that it cleans up the whole little family tree is lowkey iconic πβ¨.
It is OK to pass a NULL dir β in that case the function does nothing. No drama, just a cute little no-op ππ
.
π¦ SEE ALSO π¦
Kernel file ./drivers/thunderbolt/property.c, plus these very important besties:
tb_property_parse_dir(9)tb_property_create_dir(9)tb_property_format_dir(9)tb_property_copy_dir(9)tb_property_merge_dir(9)tb_property_add_immediate(9)tb_property_add_data(9)tb_property_add_text(9)tb_property_add_dir(9)tb_property_remove(9)tb_property_find(9)tb_property_get_next(9)
Source/version: ./drivers/thunderbolt Β· date: October 2026 Β· manual: tb_property_free_dir(9) β bye bestie, go free that directory π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms