projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c72b6
)
disable a new mem leak check until we're sure it's valid
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 3 Jul 2006 13:20:32 +0000
(13:20 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 3 Jul 2006 13:20:32 +0000
(13:20 +0000)
src/mesa/main/hash.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/hash.c
b/src/mesa/main/hash.c
index b2cfc7a0ac257b7824e6d144dc2e6a002d646ac0..2d5bcc3e01e9c0f28fb555d881978d05d13376d5 100644
(file)
--- a/
src/mesa/main/hash.c
+++ b/
src/mesa/main/hash.c
@@
-175,9
+175,11
@@
_mesa_HashInsert(struct _mesa_HashTable *table, GLuint key, void *data)
for (entry = table->Table[pos]; entry; entry = entry->Next) {
if (entry->Key == key) {
/* replace entry's data */
+#if 0 /* not sure this check is always valid */
if (entry->Data) {
_mesa_problem(NULL, "Memory leak detected in _mesa_HashInsert");
}
+#endif
entry->Data = data;
_glthread_UNLOCK_MUTEX(table->Mutex);
return;