chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a6233f
)
sd-resolv: remove left-over comment
author
Tom Gundersen
<teg@jklm.no>
Tue, 14 Jan 2014 12:51:18 +0000
(13:51 +0100)
committer
Tom Gundersen
<teg@jklm.no>
Tue, 14 Jan 2014 13:09:01 +0000
(14:09 +0100)
We are anyway breaking the API by renaming everything, so that is not a concern.
src/libsystemd/sd-resolv.c
patch
|
blob
|
history
diff --git
a/src/libsystemd/sd-resolv.c
b/src/libsystemd/sd-resolv.c
index 8845d6e7841f34fd773b3cac757b540d216dbb50..b8288bafb98186e9ac9b47293e2491de13f7a479 100644
(file)
--- 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;