Coverity #567: Fix a memory leak on a failure path.

This commit is contained in:
Adam Jackson 2006-04-02 23:17:49 +00:00
parent 1ee92f984b
commit b3208c2de9

View file

@ -410,6 +410,7 @@ static void driTexturesGone( driTexHeap * heap, int offset, int size,
fprintf( stderr, "Couldn't alloc placeholder: heap %u sz %x ofs %x\n", heap->heapId,
(int)size, (int)offset );
mmDumpMemInfo( heap->memory_heap );
FREE(t);
return;
}
t->heap = heap;