chiark / gitweb /
move _cleanup_ attribute in front of the type
[elogind.git] / src / journal / journal-gatewayd.c
index a633638f8030d4aa8cbeec451302f96cca36decf..51a938b79e99d3e303f7757b60fb8c99593bca5d 100644 (file)
@@ -335,7 +335,7 @@ static int request_parse_range(
 
                 colon2 = strchr(colon + 1, ':');
                 if (colon2) {
-                        char _cleanup_free_ *t;
+                        _cleanup_free_ char *t;
 
                         t = strndup(colon + 1, colon2 - colon - 1);
                         if (!t)