mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
sd-bus: fix memleak
Closes CID#1437780.
This commit is contained in:
parent
ecb3e9fba3
commit
8f13ef254b
@ -1516,8 +1516,8 @@ _public_ int sd_bus_open_system_remote(sd_bus **ret, const char *host) {
|
||||
}
|
||||
|
||||
int bus_set_address_machine(sd_bus *b, bool user, const char *machine) {
|
||||
_cleanup_free_ char *a = NULL;
|
||||
const char *rhs;
|
||||
char *a;
|
||||
|
||||
assert(b);
|
||||
assert(machine);
|
||||
|
Loading…
Reference in New Issue
Block a user