diff options
author | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2015-08-30 18:19:34 -0300 |
---|---|---|
committer | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2015-08-30 19:21:31 -0300 |
commit | 0ba793fb8b2888e0c340fc6f054ef5e910fe48f0 (patch) | |
tree | 99a490e0a22408658d59fdbb893299b8023aea5f /src | |
parent | 82613b14ba10706da0f89774dc82d33a04fe5290 (diff) |
sd-bus: Fix incorrect cleanup attribute in bus_match_to_string()
Must be _cleanup_fclose_ not _cleanup_free_
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd/sd-bus/bus-match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c index 2b83f439a7..7234e7926a 100644 --- a/src/libsystemd/sd-bus/bus-match.c +++ b/src/libsystemd/sd-bus/bus-match.c @@ -932,7 +932,7 @@ fail: } char *bus_match_to_string(struct bus_match_component *components, unsigned n_components) { - _cleanup_free_ FILE *f = NULL; + _cleanup_fclose_ FILE *f = NULL; char *buffer = NULL; size_t size = 0; unsigned i; |