Fix valgrind compile
This commit is contained in:
parent
841593d013
commit
3e52b2be66
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001-2012 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2001-2016 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -113,7 +113,8 @@ void codespace_delete(void)
|
|||
count_opcodes -= 1;
|
||||
if ((cur+idx)->opcode == &of_VPI_CALL) {
|
||||
vpi_call_delete((cur+idx)->handle);
|
||||
} else if ((cur+idx)->opcode == &of_EXEC_UFUNC) {
|
||||
} else if (((cur+idx)->opcode == &of_EXEC_UFUNC_REAL) ||
|
||||
((cur+idx)->opcode == &of_EXEC_UFUNC_VEC4)) {
|
||||
exec_ufunc_delete((cur+idx));
|
||||
} else if ((cur+idx)->opcode == &of_FILE_LINE) {
|
||||
delete((cur+idx)->handle);
|
||||
|
|
|
|||
Loading…
Reference in New Issue