chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move _cleanup_ attribute in front of the type
[elogind.git]
/
src
/
journal
/
journal-gatewayd.c
diff --git
a/src/journal/journal-gatewayd.c
b/src/journal/journal-gatewayd.c
index a633638f8030d4aa8cbeec451302f96cca36decf..51a938b79e99d3e303f7757b60fb8c99593bca5d 100644
(file)
--- a/
src/journal/journal-gatewayd.c
+++ b/
src/journal/journal-gatewayd.c
@@
-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)