aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-09-20 20:07:43 +0200
committerMax Kellermann <max@duempel.org>2011-09-21 17:56:06 +0200
commit371c82b2bf440233dc2b36e8a348f35cf44985c3 (patch)
tree83bf3aff44fba1ef1909d0d1050c3ae325b2c3df /src
parent8176880173f593dc6833bf2ef52eb1c24786a935 (diff)
downloadmpd-371c82b2bf440233dc2b36e8a348f35cf44985c3.tar.gz
mpd-371c82b2bf440233dc2b36e8a348f35cf44985c3.tar.xz
mpd-371c82b2bf440233dc2b36e8a348f35cf44985c3.zip
utils: mark sockaddr_to_string() as G_GNUC_MALLOC
Diffstat (limited to 'src')
-rw-r--r--src/resolver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolver.h b/src/resolver.h
index 8d5cb187e..e5ad06754 100644
--- a/src/resolver.h
+++ b/src/resolver.h
@@ -42,6 +42,7 @@ resolver_quark(void)
* @param error location to store the error occurring, or NULL to
* ignore errors
*/
+G_GNUC_MALLOC
char *
sockaddr_to_string(const struct sockaddr *sa, size_t length, GError **error);