From 7efbd712336f1e40ba8cff0e0de3487eaa0f9f08 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 13 Dec 2023 21:04:13 +0200 Subject: [PATCH] free memory on data return --- src/Get.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Get.php b/src/Get.php index d31b4ca..f9a98aa 100644 --- a/src/Get.php +++ b/src/Get.php @@ -62,6 +62,10 @@ class Get return null; } + // free mem + $chain = []; + $pieces = []; + return $data; }