utils: mark sockaddr_to_string() as G_GNUC_MALLOC

This commit is contained in:
Jonathan Neuschäfer 2011-09-20 20:07:43 +02:00 committed by Max Kellermann
parent 8176880173
commit 371c82b2bf

View File

@ -42,6 +42,7 @@ resolver_quark(void)
* @param error location to store the error occurring, or NULL to * @param error location to store the error occurring, or NULL to
* ignore errors * ignore errors
*/ */
G_GNUC_MALLOC
char * char *
sockaddr_to_string(const struct sockaddr *sa, size_t length, GError **error); sockaddr_to_string(const struct sockaddr *sa, size_t length, GError **error);