aboutsummaryrefslogtreecommitdiff
path: root/p/api
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-05-17 00:04:51 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-17 00:04:51 +0200
commit83b5944dcbb09db0accd528be4906b88590d924f (patch)
tree78d171edbdb96e898723f20f09274818b5f97f82 /p/api
parent525e1ca0b0b9e2aaf9e8c2450ceb0a1a20dd71b7 (diff)
Stream instead of memory copy of SimplePie entries (#2972)
* Stream instead of memory copy of SimplePie entries https://github.com/FreshRSS/FreshRSS/issues/2952 * Undo lines delete * Typo * Remove unaccessible code https://github.com/FreshRSS/FreshRSS/pull/2972/files#r425624163 * Back-compatibility for Feed->entries https://github.com/FreshRSS/FreshRSS/pull/2972/files#r425631913
Diffstat (limited to 'p/api')
-rw-r--r--p/api/pshb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index 7ae660067..e8109cbb0 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -152,7 +152,7 @@ foreach ($users as $userFilename) {
}
}
-$simplePie->__destruct();
+$simplePie->__destruct(); //http://simplepie.org/wiki/faq/i_m_getting_memory_leaks
unset($simplePie);
if ($nb === 0) {