nvfx: fix minor memory leak

This commit is contained in:
Luca Barbieri
2010-08-23 00:16:23 +02:00
parent d507c0812d
commit 8ffc357228

View File

@@ -1518,7 +1518,7 @@ nvfx_fragprog_destroy(struct nvfx_context *nvfx,
while(fpbo != fp->fpbo);
}
for(i = 0; i < 8; ++i)
for(i = 0; i < Elements(fp->slot_relocations); ++i)
util_dynarray_fini(&fp->slot_relocations[i]);
if (fp->insn_len)