| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
|
|
|
|
|
|
|
|
|
| |
This ensures that it ends up in its own cgroup under systemd user
sessions where dbus-daemon uses systemd activation, rather than
being treated as part of dbus.service.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92165
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This allows us to get a SHA1 hash that we can verify from the device.
|
|
|
|
| |
This allows us to dump a firmware for validation.
|
|\
| |
| | |
Check for, and prefer, libsystemd over libsystemd-login.
|
|/
|
|
|
|
| |
Systemd 209 merged all the sundry libsystemd-* libraries into a single libsystemd
library. Update the systemd-login check to first test for libsystemd, then
libsystemd-login if the first check fails.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We don't want to show display devices created by GDM when logged in the local
console otherwise we show two display devices, one of which we can't alter.
When using the root user, return all devices from all users.
|
|
|
|
|
|
| |
This closes the device and rebinds any suitable kernel driver.
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
| |
|
|\
| |
| | |
cd_client_connect_cb(): do not leak strings
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The reason is: client->priv is re-used several times, and cd_client_finalize()
is called only once at the end, so if cd_client_connect_cb() is called more
than once, it will re-duplicate those 3 strings, and the memory allocated
previously will leak.
Fixes several following LeakSanitizer-detected leaks like:
Direct leak of 23 byte(s) in 1 object(s) allocated from:
0 0x7f647ff0474f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5474f)
1 0x7f647d29f799 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4f799)
2 0x7f647d2b812e in g_strdup (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x6812e)
3 0x7f6478cce792 in cd_client_connect_cb /home/lebedevri/src/colord/lib/colord/cd-client.c:382
or
3 0x7f6478cce822 in cd_client_connect_cb /home/lebedevri/src/colord/lib/colord/cd-client.c:388
or
3 0x7f6478cce8b9 in cd_client_connect_cb /home/lebedevri/src/colord/lib/colord/cd-client.c:392
4 0x7f647d82cdf6 in g_simple_async_result_complete (/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0+0x74df6)
5 0x7f647d82ce58 (/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0+0x74e58)
6 0x7f647d299b4c in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x49b4c)
7 0x7f647d299f1f (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x49f1f)
8 0x7f647d29a241 in g_main_loop_run (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a241)
9 0x7f647f043bf4 in gtk_main (/usr/lib/x86_64-linux-gnu/libgtk-3.so.0+0x1ebbf4)
10 0x7f647fa17eab in dt_gui_gtk_run /home/lebedevri/darktable/src/gui/gtk.c:964
11 0x400cd3 in main /home/lebedevri/darktable/src/main.c:25
12 0x7f6477ff9b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
13 0x400bb8 (/usr/local/bin/darktable+0x400bb8)
|
|\
| |
| | |
Do not leak GError when using the LCMS context
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have manually allocated it in cd_context_lcms_new(), and
g_clear_error() does not free it, only it's content, if any.
Fixes following LeakSanitizer-detected leak:
Direct leak of 8 byte(s) in 1 object(s) allocated from:
0 0x7f98f9924895 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54895)
1 0x7f98f93af7f1 in g_malloc0 (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4f7f1)
2 0x7f98f8306d19 in cd_context_lcms_new /home/lebedevri/src/colord/lib/colord/cd-context-lcms.c:154
3 0x7f98f8314dd8 in cd_icc_init /home/lebedevri/src/colord/lib/colord/cd-icc.c:4012
4 0x7f98f7d41f98 in g_type_create_instance (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x31f98)
5 0x7f98f7d25866 (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x15866)
6 0x7f98f7d2725c in g_object_newv (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x1725c)
7 0x7f98f7d279f3 in g_object_new (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x179f3)
8 0x7f98f831ef90 in cd_icc_new /home/lebedevri/src/colord/lib/colord/cd-icc.c:4068
9 0x7f98f85a0981 in cd_profile_load_icc (/usr/local/lib/libcolord.so.2+0x38981)
10 0x4022c8 in main /home/lebedevri/darktable/src/cmstest/main.c:236
11 0x7f98f7539b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
12 0x4018c8 (/usr/local/bin/darktable-cmstest+0x4018c8)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is required to write fwupd-compatible update descriptions.
|
| |
|
| |
|
|\
| |
| | |
Fix session-helper failing to find argyll tool.
|
|/
|
|
|
|
|
|
| |
We don't want to free the thing we're trying to return. This fixes the
bug introduced in commit b6f7c4d117a06f059a6e852e2dce8c13a3bb1f2c.
See:
https://bugzilla.redhat.com/show_bug.cgi?id=1190720
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The sd_* functions follow the kernel style of returning the negation of the relevant
errno value on error. We therefore need to negate the return value before passing
it to strerror().
|
| |
|
| |
|