Re: [Mesa-dev] [PATCH 9/9] mesa/st: take ownership rather than adding reference for new renderbuffers

2017-04-08 Thread Emil Velikov
On 8 April 2017 at 02:04, Timothy Arceri wrote: > This avoids locking in the reference calls and fixes a leak after the > RefCount initialisation was change from 0 to 1. > > Fixes: 32141e53d1520 (mesa: tidy up renderbuffer RefCount initialisation) > --- > src/mesa/state_tracker/st_manager.c | 21

[Mesa-dev] [PATCH 9/9] mesa/st: take ownership rather than adding reference for new renderbuffers

2017-04-07 Thread Timothy Arceri
This avoids locking in the reference calls and fixes a leak after the RefCount initialisation was change from 0 to 1. Fixes: 32141e53d1520 (mesa: tidy up renderbuffer RefCount initialisation) --- src/mesa/state_tracker/st_manager.c | 21 - 1 file changed, 16 insertions(+), 5 d