From 371c82b2bf440233dc2b36e8a348f35cf44985c3 Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Tue, 20 Sep 2011 20:07:43 +0200 Subject: utils: mark sockaddr_to_string() as G_GNUC_MALLOC --- src/resolver.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/resolver.h') diff --git a/src/resolver.h b/src/resolver.h index 8d5cb187..e5ad0675 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); -- cgit v1.2.3