diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-08 12:58:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-08 12:58:41 -0700 |
commit | d60724b752613ce2ad11c6ae102bf4513f9768ff (patch) | |
tree | 4a9b33d42dbbef7d3e09b9a2a72609ca82ce8bcf /config | |
parent | a5b9757142a2ab471ca26651dce9cc5f5e351f3d (diff) | |
parent | 15460eaed28b5353a94a17091d7795cfaeda9146 (diff) |
Merge commit 'who/for-keith'
Skipping two unreviewed patches; will mark them reviewed and cherry pick
Diffstat (limited to 'config')
-rw-r--r-- | config/config.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/config.c b/config/config.c index def7f16ca..551451623 100644 --- a/config/config.c +++ b/config/config.c @@ -250,8 +250,6 @@ config_odev_free_attributes(struct OdevAttributes *attribs) free(iter); } - if (fd != -1) { - systemd_logind_release_fd(major, minor); - close(fd); - } + if (fd != -1) + systemd_logind_release_fd(major, minor, fd); } |