Pauli Virtanen
baadda3b67
tools: fix some missing free/close
2025-06-14 15:21:29 +03:00
Barnabás Pőcze
e2d3f9140b
pw-reserve: fix potential DBusMessage memory leak
...
Our reference to the message must always be dropped,
even if `dbus_connection_send()` fails.
2024-01-08 10:55:02 +00:00
Barnabás Pőcze
72d5417857
pw-reserve: use arg0namespace for dbus match rule
...
Only names in the `org.freedesktop.ReserveDevice1` namespace
are interesting for the purposes of device reservation, so
use `arg0namespace` in the dbus match rule to filter out others.
2024-01-08 10:55:02 +00:00
Pauli Virtanen
b12119da28
pw-reserve: require valid name + check rd_reserve_new errors
...
Empty name in rd_device_new triggers assert inside DBus, so bail out
before that.
2023-11-28 10:26:43 +00:00
Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Peter Hutterer
b78371f702
tools: update pw-reserve so don't need to include the c file
2021-10-18 20:44:11 +10:00
Peter Hutterer
1bced6b2ef
Remove media-session from this tree
...
It is now available as a separate project in
https://gitlab.freedesktop.org/pipewire/media-session
The code required by pw-reservice has moved to src/tools/reserve.{c|h}
2021-10-18 20:44:07 +10:00