Changeset 617 for branches/1.3/xcache.c
- Timestamp:
- 2009-07-05T08:30:54+02:00 (4 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/xcache.c
r602 r617 542 542 xc_entry_data_php_t *p = xce->data.php; 543 543 zend_op_array *old_active_op_array = CG(active_op_array); 544 ALLOCA_FLAG(use_heap) 545 544 546 #ifndef ZEND_ENGINE_2 545 547 /* new ptr which is stored inside CG(class_table) */ 546 xc_cest_t **new_cest_ptrs = (xc_cest_t **) do_alloca(sizeof(xc_cest_t*) * p->classinfo_cnt);548 xc_cest_t **new_cest_ptrs = (xc_cest_t **)my_do_alloca(sizeof(xc_cest_t*) * p->classinfo_cnt, use_heap); 547 549 #endif 548 550 … … 605 607 606 608 #ifndef ZEND_ENGINE_2 607 free_alloca(new_cest_ptrs);609 my_free_alloca(new_cest_ptrs, use_heap); 608 610 #endif 609 611 CG(active_op_array) = old_active_op_array; … … 649 651 int size = strlen(include_path) + 1; 650 652 char tokens[] = { DEFAULT_DIR_SEPARATOR, '\0' }; 651 652 paths = (char *)do_alloca(size); 653 ALLOCA_FLAG(use_heap) 654 655 paths = (char *)my_do_alloca(size, use_heap); 653 656 memcpy(paths, include_path, size); 654 657 … … 658 661 } 659 662 if (VCWD_STAT(filepath, pbuf) == 0) { 660 free_alloca(paths);663 my_free_alloca(paths, use_heap); 661 664 return SUCCESS; 662 665 } 663 666 } 664 667 665 free_alloca(paths);668 my_free_alloca(paths, use_heap); 666 669 667 670 return FAILURE;
Note: See TracChangeset
for help on using the changeset viewer.

