Ray Strode d491063110 native: don't call steal_pointer prematurely
commit e2bfaf07514ed633f8721b5f521577685b6cccc0 does this:

g_hash_table_insert (cards,
                     g_udev_device_get_name (parent_device),
                     g_steal_pointer (&parent_device));

The problem is the g_steal_pointer call may happen before the
g_udev_device_get_name call leading to a crash.

This commit does the get_name call on an earlier line

https://bugzilla.gnome.org/show_bug.cgi?id=771442
2016-10-19 15:23:37 -04:00
2016-09-02 17:04:11 +08:00
2016-10-17 18:26:41 +02:00
2016-10-11 00:34:34 +02:00
2016-10-11 00:34:34 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%