Fix memory leak of dbus service names
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
a019ff453b
commit
33c1cd439b
|
@ -207,6 +207,7 @@ cdbus_destroy(session_t *ps) {
|
|||
log_error("Failed to release DBus name (%s).", err.message);
|
||||
dbus_error_free(&err);
|
||||
}
|
||||
free(cd->dbus_service);
|
||||
}
|
||||
|
||||
// Close and unref the connection
|
||||
|
|
Loading…
Reference in New Issue