Skip to content

Commit

Permalink
fix 5
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Sep 26, 2024
1 parent 7c11d46 commit 9f1da61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext-src/php_swoole_cxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ class Callable {
auto copy = new Callable();
copy->fcc = fcc;
copy->zfn = zfn;
zval_add_ref(&copy->zfn);
if (fn_name) {
copy->fn_name = estrdup(fn_name);
}
Expand Down

0 comments on commit 9f1da61

Please sign in to comment.