summaryrefslogtreecommitdiff
path: root/src/libsystemd/test-resolve.c
diff options
context:
space:
mode:
authorDaniel Buch <boogiewasthere@gmail.com>2014-01-18 14:30:26 +0100
committerTom Gundersen <teg@jklm.no>2014-01-18 17:52:10 +0100
commit65883c9108cb2670a5458f0c2f49a5879f2a4ed9 (patch)
treeb0dfa941b449b7cf2178fc6dd02309453a51e177 /src/libsystemd/test-resolve.c
parent039ebe6aebaebcaa18375b33caf1db5fe2551621 (diff)
sd-resolve: get rid of sd_resolve_freeanswer()
Diffstat (limited to 'src/libsystemd/test-resolve.c')
-rw-r--r--src/libsystemd/test-resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/test-resolve.c b/src/libsystemd/test-resolve.c
index 7c1e7aa32c..3903e64d70 100644
--- a/src/libsystemd/test-resolve.c
+++ b/src/libsystemd/test-resolve.c
@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
int r = 1, ret;
_cleanup_resolve_free_ sd_resolve *resolve = NULL;
_cleanup_resolve_addrinfo_free_ struct addrinfo *ai = NULL;
- _cleanup_resolve_answer_free_ unsigned char *srv = NULL;
+ _cleanup_free_ unsigned char *srv = NULL;
sd_resolve_query *q1, *q2, *q3;
struct addrinfo hints = {};
struct sockaddr_in sa = {};