]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "bootchart: use _cleanup_close_"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Mar 2013 20:28:03 +0000 (15:28 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Mar 2013 20:35:50 +0000 (15:35 -0500)
commit1f3523baf7418adf3b2738b3917ef956a8414ab7
tree334dde9e12ebf4cfc3ebf219adcb40aee664cf4d
parentdb7f1dde30068bd980c78db77867b6956f5295e2
Revert "bootchart: use _cleanup_close_"

This reverts commit 0ea9530d401827e299c6e04a433e69a7a2a89d80.

attribute(cleanup) can only be used inside functions (*of, sysfd
are leaked).

Cleanup functions are only called once when exiting scope (*f
is leaked twice).
src/bootchart/bootchart.c
src/bootchart/svg.c