[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH] wined3d: move texture reference decrement to end of usage (Coverity)
From: Henri Verbeet <hverbeet () gmail ! com>
Date: 2012-09-29 11:01:41
Message-ID: CAOsNvwwBtqsO7cuuExh8Bc5pfvoP-YugDFSWqezz7Hmcq_C9nw () mail ! gmail ! com
[Download RAW message or body]
On 29 September 2012 11:14, Marcus Meissner <marcus@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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic