summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/sd-resolv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsystemd/sd-resolv.c b/src/libsystemd/sd-resolv.c
index 8845d6e784..b8288bafb9 100644
--- a/src/libsystemd/sd-resolv.c
+++ b/src/libsystemd/sd-resolv.c
@@ -1111,11 +1111,6 @@ void sd_resolv_freeanswer(unsigned char *answer) {
if (!answer)
return;
- /* Please note that this function is new in libresolv 0.4. In
- * older versions you were supposed to free the answer directly
- * with free(). Hence, if this function is changed to do more than
- * just a simple free() this must be considered ABI/API breakage! */
-
free(answer);
errno = saved_errno;