gthread: Fix use of a local variable after it went out of scope
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 16 May 2014 20:47:24 +0000 (21:47 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 20 May 2014 10:01:38 +0000 (11:01 +0100)
commit03a82ce898ea435efd73a250d989f8dc6249aaf8
tree136701f4387112016cd242db99344036c1173b5e
parente1243d11f000e18436b439f5655532801a71aeec
gthread: Fix use of a local variable after it went out of scope

This could theoretically cause problems, although in practice we would
have seen them by now (the bug was introduced in 2012).

Coverity issue: #1159486

https://bugzilla.gnome.org/show_bug.cgi?id=730277
glib/gthread-posix.c