From 371c82b2bf440233dc2b36e8a348f35cf44985c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 20 Sep 2011 20:07:43 +0200 Subject: [PATCH] utils: mark sockaddr_to_string() as G_GNUC_MALLOC --- src/resolver.h | 1 + 1 file changed, 1 insertion(+) 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);