summaryrefslogtreecommitdiffstats
path: root/src/gtest
diff options
context:
space:
mode:
authorAntoine Labour <[email protected]>2012-05-24 18:17:50 -0700
committerStéphane Marchesin <[email protected]>2012-06-12 14:42:22 -0700
commit3c9fab88226af8360817c01ecde38348284e6ce7 (patch)
tree18147c9d3a87fd1ade9ae1043d131e9ff7200baf /src/gtest
parente2e9b4b10fcf3ba6358b9be54638f850523af82e (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/gtest')
0 files changed, 0 insertions, 0 deletions