chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: use TAKE_PTR() and TAKE_FD() macros
[elogind.git]
/
src
/
libelogind
/
sd-bus
/
bus-match.c
diff --git
a/src/libelogind/sd-bus/bus-match.c
b/src/libelogind/sd-bus/bus-match.c
index bd78ccb699fa679f437a1217e60285325957d2a9..82b29af8b5e18454cd94e4a1e549f99dc848d123 100644
(file)
--- a/
src/libelogind/sd-bus/bus-match.c
+++ b/
src/libelogind/sd-bus/bus-match.c
@@
-903,11
+903,10
@@
int bus_match_parse(
}
components[n_components].type = t;
- components[n_components].value_str =
value
;
+ components[n_components].value_str =
TAKE_PTR(value)
;
components[n_components].value_u8 = u;
n_components++;
- value = NULL;
if (q[quoted] == 0)
break;