summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-24 22:27:21 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-24 22:27:21 -0500
commitc6d92582205065e4924b9f0cb1428f4a5f210fd4 (patch)
treef18e309be1044cbca2141b797f39c24d1c977417 /src/resolve
parent06ec51d8ef30dce3c7f864633ba3a9888d18fed6 (diff)
resolve: fix strv memleak
sd_bus_message_read_strv() returns a normal strv...
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-link-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-link-bus.c b/src/resolve/resolved-link-bus.c
index 364812250f..59cd6cf1cb 100644
--- a/src/resolve/resolved-link-bus.c
+++ b/src/resolve/resolved-link-bus.c
@@ -462,7 +462,7 @@ int bus_link_method_set_dnssec(sd_bus_message *message, void *userdata, sd_bus_e
int bus_link_method_set_dnssec_negative_trust_anchors(sd_bus_message *message, void *userdata, sd_bus_error *error) {
_cleanup_set_free_free_ Set *ns = NULL;
- _cleanup_free_ char **ntas = NULL;
+ _cleanup_strv_free_ char **ntas = NULL;
Link *l = userdata;
int r;
char **i;