chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / core / dbus-socket.c
index 728958131db6db045fa7c7a135b232927614eedb..77d98ea0fdc9f0dc544dbe56d2135801c9ee3d7e 100644 (file)
@@ -114,7 +114,7 @@ static int bus_socket_append_listen(DBusMessageIter *i, const char *property, vo
 
         LIST_FOREACH(port, p, s->ports) {
                 const char *type = socket_port_type_to_string(p);
-                char _cleanup_free_ *address = NULL;
+                _cleanup_free_ char *address = NULL;
                 const char *a;
 
                 if (!dbus_message_iter_open_container(&array, DBUS_TYPE_STRUCT, NULL, &stru))