Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit b93ee60

Browse files
Fixed CRubix::median double free
1 parent 36f9984 commit b93ee60

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/interfaces/rubix.c

-1
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,6 @@ PHP_METHOD(CRubix, median)
18131813
if (CArray_NDIM(b) == 1) {
18141814
n = (n + 1) / 2 - 1;
18151815
ZVAL_DOUBLE(return_value, DDATA(b)[n]);
1816-
CArray_Free(b);
18171816
return;
18181817
}
18191818

0 commit comments

Comments
 (0)