chiark / gitweb /
nss-myhostname: do not use _cleanup_
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Apr 2013 17:52:51 +0000 (13:52 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Apr 2013 17:57:32 +0000 (13:57 -0400)
commit7464b33d804c4a7295cc576574e8586a173b5f76
tree6da8f9297b59f98e17ac38677a52c8e78f36b6ca
parentd1148ed10a474ccc949113a8ec06e7e29c4c7cb0
nss-myhostname: do not use _cleanup_

mss-myhostname wasn't working because of underlinking. Instead of
fixing the underlinking, just remove the use of _cleanup_ macros.

It is impolite to use our utility functions in modules designed to be
loaded by others. So cleanup macros which (at some point) call assert
which calls log_assert_failed, should not be used. Revert this part of
commit d73c3269c.
src/nss-myhostname/netlink.c