diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-01 21:29:00 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-01 22:59:30 +0100 |
commit | 4fa04c8e4c24ca448901169ecf7f9836eebb45ba (patch) | |
tree | ff615df1d2c6ab68d560ae198dbdafb837c9c96a /src/qmi-firmware-update/qfu-updater.c | |
parent | 195cd3bc9a6481976106ef34a5f85956e19f01b1 (diff) | |
download | external_libqmi-4fa04c8e4c24ca448901169ecf7f9836eebb45ba.zip external_libqmi-4fa04c8e4c24ca448901169ecf7f9836eebb45ba.tar.gz external_libqmi-4fa04c8e4c24ca448901169ecf7f9836eebb45ba.tar.bz2 |
qmi-firmware-update: GUdevDevice shouldn't outlive the GUdevClient
Make sure all GUdevDevice objects created during the helper methods
aren't unref-ed after the GUdevClient that created them.
This is because the udev context is owned by the GUdevClient but also
used (without any full reference) by all udev_devices (i.e.
GUdevDevices) created from that same context.
Quite easy to reproduce when using libudev < 218.
Diffstat (limited to 'src/qmi-firmware-update/qfu-updater.c')
0 files changed, 0 insertions, 0 deletions