projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4ccb80
)
resolvectl: fix double free issue
author
Lennart Poettering
<lennart@poettering.net>
Wed, 14 Jun 2023 12:59:54 +0000
(14:59 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 14 Jun 2023 16:31:32 +0000
(18:31 +0200)
Follow-up for: #28012
Addresses these: https://github.com/systemd/systemd/pull/28012#issuecomment-
1590889386
src/resolve/resolvectl.c
patch
|
blob
|
history
diff --git
a/src/resolve/resolvectl.c
b/src/resolve/resolvectl.c
index c7ec3de588d1c83883ff51746e2098a698a8a633..d6ecaed3c63202874d1a901f63a30613686f8ae5 100644
(file)
--- a/
src/resolve/resolvectl.c
+++ b/
src/resolve/resolvectl.c
@@
-2894,7
+2894,7
@@
static int dump_cache_scope(JsonVariant *scope) {
}
static int verb_show_cache(int argc, char *argv[], void *userdata) {
-
_cleanup_(json_variant_unrefp) JsonVariant *d = NULL, *reply
= NULL;
+
JsonVariant *reply = NULL, *d
= NULL;
_cleanup_(varlink_unrefp) Varlink *vl = NULL;
int r;