Skip to content

Commit

Permalink
*TEMPORARILY* Remove zend_string_release calls in rayaop.c
Browse files Browse the repository at this point in the history
The calls to zend_string_release for class_name and method_name in rayaop.c have been commented out. These were previously used to free the intercept info but now should be removed to prevent any unintended side effects. The subsequent debug print remains to confirm that these values have been released.
  • Loading branch information
koriym committed Jun 28, 2024
1 parent 21037ed commit 3a68d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rayaop.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ static int efree_intercept_info(zval *zv)
if (info) {
RAYAOP_DEBUG_PRINT("Freeing intercept info for %s::%s", ZSTR_VAL(info->class_name), ZSTR_VAL(info->method_name));

zend_string_release(info->class_name); // クラス名を解放
zend_string_release(info->method_name); // メソッド名を解放
// zend_string_release(info->class_name); // クラス名を解放 *SHOULD_BE_REMOVED*
// zend_string_release(info->method_name); // メソッド名を解放 *SHOULD_BE_REMOVED*

RAYAOP_DEBUG_PRINT("class_name and method_name released");

Expand Down

0 comments on commit 3a68d03

Please sign in to comment.