summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-01-12 16:09:21 +0100
committerFranck Bui <fbui@suse.com>2018-01-12 16:09:21 +0100
commita3c56345735ed3154fbb218f73ef8a4a54f763b7 (patch)
tree1d9fc13817c97d49d540d2a1292de183fbb240c6 /src/mount
parent59dda97f7f6afecfcc9c96c1559848b688d5f3ec (diff)
downloadsystemd-a3c56345735ed3154fbb218f73ef8a4a54f763b7.tar.gz
Revert "tree-wide: use _cleanup_(sd_bus_flush_close_unrefp) at various appropriate places"
This reverts commit 0b3c84eb7da3a8c28ac248a68228f6a7edbb2e19. The removal of _cleanup_() usages was done on purpose, see cf647b69baee4c478d3909c327e3d917e1563f44. Fixes: #3543
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 131f160b50..0c312da8e1 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -1670,6 +1670,8 @@ int main(int argc, char* argv[]) {
}
finish:
+ bus = sd_bus_flush_close_unref(bus);
+
pager_close();
free(arg_mount_what);