mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-*ctl: fix label leak
This commit is contained in:
parent
14041bd968
commit
7ea9305172
1 changed files with 3 additions and 0 deletions
|
@ -900,6 +900,9 @@ static int ctl_wifi_parse_object(struct ctl_wifi *w,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(label);
|
||||||
|
label = NULL;
|
||||||
|
|
||||||
r = sd_bus_path_decode(t,
|
r = sd_bus_path_decode(t,
|
||||||
"/org/freedesktop/miracle/wifi/peer",
|
"/org/freedesktop/miracle/wifi/peer",
|
||||||
&label);
|
&label);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue