mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 14:30:22 +01:00
fix mem leak
This commit is contained in:
parent
9fe342d1e6
commit
bb0393a0cd
1 changed files with 3 additions and 7 deletions
|
|
@ -1055,13 +1055,9 @@ _slang_gen_function_call(slang_assemble_ctx *A, slang_function *fun,
|
|||
}
|
||||
|
||||
/* Replace the function call with the inlined block */
|
||||
#if 0
|
||||
slang_operation_construct(oper);
|
||||
slang_operation_copy(oper, inlined);
|
||||
#else
|
||||
*oper = *inlined; /* XXX slang_operation_copy() */
|
||||
#endif
|
||||
|
||||
slang_operation_destruct(oper);
|
||||
*oper = *inlined;
|
||||
/* XXX slang_operation_destruct(inlined) ??? */
|
||||
|
||||
#if 0
|
||||
assert(inlined->locals);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue