diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-08 10:06:12 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-23 19:17:28 -0500 |
commit | 06d8d842e9de8656d9a46926e7ae7ff967b69ef8 (patch) | |
tree | fc82c087a4c61599ee5ec633c384583a8a39a7d1 /src/core/manager.h | |
parent | f44b9efcec4594eb8f843325ee3079b44fb8f24a (diff) |
manager: let manager_free() handle NULLs
This makes the calling code a bit simpler.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index ab7254849c..02535023a3 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -296,7 +296,7 @@ struct Manager { }; int manager_new(SystemdRunningAs running_as, bool test_run, Manager **m); -void manager_free(Manager *m); +Manager* manager_free(Manager *m); int manager_enumerate(Manager *m); int manager_startup(Manager *m, FILE *serialization, FDSet *fds); |