You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modern C compilers support the cleanupattribute for automatically release resources (memory, open file descriptor, etc.) at function exit. We could use it in the p11-kit commands instead of manual cleanup, as in systemd or GLib.
It might be worth noting that we probably shouldn't use this technique in the library as it intends to be portable.
The text was updated successfully, but these errors were encountered:
Modern C compilers support the
cleanup
attribute for automatically release resources (memory, open file descriptor, etc.) at function exit. We could use it in thep11-kit
commands instead of manual cleanup, as in systemd or GLib.It might be worth noting that we probably shouldn't use this technique in the library as it intends to be portable.
The text was updated successfully, but these errors were encountered: