diff options
| author | Mike Schuchardt <mikes@lunarg.com> | 2016-12-13 14:04:57 -0700 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2016-12-14 13:01:42 -0700 |
| commit | 323dcacf7158263913452888ebf6d1b8232d854a (patch) | |
| tree | c1ad479d212cd867d87f0f65b0e3e365094ec30e /scripts/unique_objects_generator.py | |
| parent | 1bfb96da6a558e63ada9a1ab0ca614674f172bd9 (diff) | |
| download | usermoji-323dcacf7158263913452888ebf6d1b8232d854a.tar.xz | |
layers: Fix object tracker memory leak
Upon repeated calls, GetDisplayPlaneSupportedDisplaysKHR will call
CreateObject multiple times with the same VkDisplayKHR handle. Add a
check in CreateObject for an existing tracking object before allocating
a new one.
Change-Id: I50f634fbe8b7e69edbfeb4e6f0c050b7fccaa6e4
Diffstat (limited to 'scripts/unique_objects_generator.py')
0 files changed, 0 insertions, 0 deletions
