mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
v3d: Fix a leak of the disassembled instruction string during debug dumps.
Fixes: ade416d023 ("broadcom: Add VC5 NIR compiler.")
This commit is contained in:
parent
7f8d8b7d27
commit
f1d98204c3
1 changed files with 1 additions and 0 deletions
|
|
@ -364,6 +364,7 @@ v3d_dump_qpu(struct v3d_compile *c)
|
|||
for (int i = 0; i < c->qpu_inst_count; i++) {
|
||||
const char *str = v3d_qpu_disasm(c->devinfo, c->qpu_insts[i]);
|
||||
fprintf(stderr, "0x%016"PRIx64" %s\n", c->qpu_insts[i], str);
|
||||
ralloc_free((void *)str);
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue