diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-07-28 15:45:59 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-07-28 15:45:59 +0200 |
commit | 0fda5c4e9802a88a48a51086b27b0915d1a34726 (patch) | |
tree | 70b386afeacb8caf2810d6c0defbfa34ce291c0d | |
parent | 7e7ec101142d7e11f764366e2580000c9cc25992 (diff) |
document that changing _freeanswer() to wildly would be considered ABI/API breakage
-rw-r--r-- | libasyncns/asyncns.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libasyncns/asyncns.c b/libasyncns/asyncns.c index f8c5f46..bc546f4 100644 --- a/libasyncns/asyncns.c +++ b/libasyncns/asyncns.c @@ -1455,6 +1455,11 @@ void asyncns_freeanswer(unsigned char *answer) { if (!answer) return; + /* Please note that this function is new in libasyncns 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; |