diff options
author | Antoine Labour <[email protected]> | 2012-05-24 18:17:50 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2012-06-12 14:42:22 -0700 |
commit | 3c9fab88226af8360817c01ecde38348284e6ce7 (patch) | |
tree | 18147c9d3a87fd1ade9ae1043d131e9ff7200baf /src/glx/singlepix.c | |
parent | e2e9b4b10fcf3ba6358b9be54638f850523af82e (diff) |
mesa: Fix hash table leak
When a value was replaced, the new key was strdup'd and leaked.
To fix this, we modify the hash table implementation to return
whether the value was replaced and free() the (now useless)
duplicate string.
Diffstat (limited to 'src/glx/singlepix.c')
0 files changed, 0 insertions, 0 deletions