diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2017-01-25 16:31:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 16:31:11 +0300 |
commit | a27f0651a06c3ad13bcafe72566479482c846532 (patch) | |
tree | e7748b766b7d4f00efd062d8664a1c9ea8159ca9 /src/core/dbus.c | |
parent | 0067c7b29ab996bf99cf1bafe63c118b9b6d5b56 (diff) | |
parent | c6d92582205065e4924b9f0cb1428f4a5f210fd4 (diff) |
Merge pull request #5152 from keszybz/strv-free
Use strv_free where appropriate
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r-- | src/core/dbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c index 1f9bf2085f..a3f701c064 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -477,7 +477,7 @@ static int bus_kill_context_find(sd_bus *bus, const char *path, const char *inte } static int bus_job_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { - _cleanup_free_ char **l = NULL; + _cleanup_strv_free_ char **l = NULL; Manager *m = userdata; unsigned k = 0; Iterator i; @@ -504,7 +504,7 @@ static int bus_job_enumerate(sd_bus *bus, const char *path, void *userdata, char } static int bus_unit_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { - _cleanup_free_ char **l = NULL; + _cleanup_strv_free_ char **l = NULL; Manager *m = userdata; unsigned k = 0; Iterator i; |