mesa: Changes to 'master'

Nicolai Hähnle nh at kemper.freedesktop.org
Mon Jun 2 16:43:02 UTC 2008


The branch, master has been updated
        Commits at: http://cgit.freedesktop.org/mesa/mesa/log/?h=master

Summary of changes:
 src/mesa/main/texenvprogram.c |    3 ++-
 src/mesa/tnl/t_vp_build.c     |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

       via  96adcc2e214e2fdc2ad15ecac20b1066c6cdd1ca (commit)
       via  934a53eb4406df9297f86cf12cacf5ba423e8af7 (commit)
      from  7ead1c5d061b86027cb5e821fdcaa9cdce1d9537 (commit)


- Commits -----------------------------------------------
commit 96adcc2e214e2fdc2ad15ecac20b1066c6cdd1ca
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Jun 1 00:10:45 2008 +0200

    [t_vp_build] Fix refcounting-related memory leak
    
    This memory leak is identical to the earlier one in texenvprogram.
    Fixed by not creating an additional reference to new programs in cache_item.
    
    On top of that, remove some duplicated state setting.

commit 934a53eb4406df9297f86cf12cacf5ba423e8af7
Author: Nicolai Haehnle <nhaehnle at gmail.com>
Date:   Sun Jun 1 00:01:46 2008 +0200

    [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.

---------------------------------




More information about the mesa-commit mailing list