summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm_pass1.c
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2008-06-01 00:01:46 +0200
committerNicolai Haehnle <nhaehnle@gmail.com>2008-06-02 18:42:49 +0200
commit934a53eb4406df9297f86cf12cacf5ba423e8af7 (patch)
tree40263aac22dd23566bd42718d08cac6c3fbe64e9 /src/mesa/drivers/dri/i965/brw_wm_pass1.c
parent7ead1c5d061b86027cb5e821fdcaa9cdce1d9537 (diff)
[texenvprogram] Fix refcounting-related memory leak.
All newly created programs have RefCount == 1, but the fragment program cache added an additional reference in cache_item, with the result being that none of the programs were ever freed. Solve the problem by not creating the additional reference in cache_item.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_pass1.c')
0 files changed, 0 insertions, 0 deletions