mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed potential memory leaks
This commit is contained in:
parent
007262207e
commit
3d8fdd5d6e
@ -937,6 +937,7 @@ static void assemble_code_blocks(zend_cfg *cfg, zend_op_array *op_array)
|
||||
opline++;
|
||||
}
|
||||
}
|
||||
free_alloca(map, use_heap);
|
||||
}
|
||||
|
||||
/* adjust early binding list */
|
||||
|
@ -380,6 +380,7 @@ void zend_optimizer_remove_live_range(zend_op_array *op_array, uint32_t var)
|
||||
opline++;
|
||||
}
|
||||
}
|
||||
free_alloca(map, use_heap);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user