mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
resolvectl: fix double free issue
Follow-up for: #28012 Addresses these: https://github.com/systemd/systemd/pull/28012#issuecomment-1590889386
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user