Christophe Fergeau 1b55291feb Fix secret_schema_unref detection of 0 refcount
g_atomic_int_add (&schema->refs, -1); will return the value of 'refs'
_before_ adding -1 to it, so checking this value for 0 to see if the
refcount dropped to 0 after adding -1 is not going to work and will
cause a leak.
Using g_atomic_int_dec_and_test() fixes this problem as this will return
TRUE when the value drops to 0 after being decremented.

https://bugzilla.gnome.org/show_bug.cgi?id=756766
2015-10-19 12:11:19 +02:00
2015-10-19 12:11:19 +02:00
2015-10-19 12:11:19 +02:00
2015-09-17 01:19:35 +04:30
2012-02-03 20:44:46 +01:00
2015-08-03 09:18:43 +02:00
2012-08-06 11:25:08 +02:00
2012-08-06 11:25:08 +02:00
2015-08-03 09:18:43 +02:00

GObject based library for accessing the Secret Service API.

Description
No description provided
Readme 2.1 MiB
Languages
C 93.6%
Python 4%
Meson 1%
Shell 0.5%
Vala 0.4%
Other 0.4%