free_rule(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ free_rule(9) ✨

okay so this is a page from the Kernel API Manual and honestly? it's a little baby page but it's an important one, so let's get into it πŸ’–


🌸 NAME 🌸

free_rule β€” frees the ipe_rule struct you hand it. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

void free_rule (struct ipe_rule *r );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • r β€” the ipe_rule struct you want freed. hand it over bestie, it's done for πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so you've got an ipe_rule struct named r and you want it gone β€” this function is literally the one that frees it. slay. πŸ”₯

⚠️ but here's the part you CANNOT skip: r has to be removed from any lists before you call this function. no cap. if it's still chained up in a list somewhere, that's on you, and it's giving undefined behaviour energy 😭 so unlink it first, then free it. periodt.

πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page bestie!! 🫢 this lil icon comes from ./security/ipe, dated October 2026, and it goes by free_rule(9) β€” go free those rules responsibly, mwah πŸ’‹

πŸ“¦ where this page comes from