Index: trunk/mod_optimizer/xc_optimizer.c
===================================================================
--- trunk/mod_optimizer/xc_optimizer.c	(revision 1112)
+++ trunk/mod_optimizer/xc_optimizer.c	(revision 1151)
@@ -392,9 +392,9 @@
 	ALLOCA_FLAG(use_heap_catchbbids)
 	ALLOCA_FLAG(use_heap_markbbhead)
-	bbid_t *bbids          = my_do_alloca(count * sizeof(bbid_t),    use_heap_bbids);
-#ifdef ZEND_ENGINE_2
-	bbid_t *catchbbids     = my_do_alloca(count * sizeof(bbid_t),    use_heap_catchbbids);
-#endif
-	zend_bool *markbbhead  = my_do_alloca(count * sizeof(zend_bool), use_heap_markbbhead);
+	bbid_t *bbids          = xc_do_alloca(count * sizeof(bbid_t),    use_heap_bbids);
+#ifdef ZEND_ENGINE_2
+	bbid_t *catchbbids     = xc_do_alloca(count * sizeof(bbid_t),    use_heap_catchbbids);
+#endif
+	zend_bool *markbbhead  = xc_do_alloca(count * sizeof(zend_bool), use_heap_markbbhead);
 
 	/* {{{ mark jmpin/jumpout */
@@ -503,9 +503,9 @@
 	/* }}} */
 
-	my_free_alloca(markbbhead, use_heap_markbbhead);
-#ifdef ZEND_ENGINE_2
-	my_free_alloca(catchbbids, use_heap_catchbbids);
-#endif
-	my_free_alloca(bbids,      use_heap_bbids);
+	xc_free_alloca(markbbhead, use_heap_markbbhead);
+#ifdef ZEND_ENGINE_2
+	xc_free_alloca(catchbbids, use_heap_catchbbids);
+#endif
+	xc_free_alloca(bbids,      use_heap_bbids);
 	return SUCCESS;
 }
