utils: mark sockaddr_to_string() as G_GNUC_MALLOC
This commit is contained in:
parent
8176880173
commit
371c82b2bf
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user