Re: [PATCH] wined3d: move texture reference decrement to end of usage (Coverity)
29 Sep
2012
29 Sep
'12
6:01 a.m.
On 29 September 2012 11:14, Marcus Meissner <marcus(a)jet.franken.de> wrote:
Hi,
I do not fully understand all this, but it seem the decref needs to be behind the last usage of prev.
Sort of. It's probably better to do it like this, but a non-zero bind_count implies a non-zero reference count as well, so in practice there's no danger of using prev after it's free'd.
4819
Age (days ago)
4819
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet