diff options
-rw-r--r-- | rss.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -109,6 +109,7 @@ function load_rss(string $uri, string $linkrel = "alternate", ?bool $allow_html $data["date"]->setTimezone($config["timezone"]); $parsed[] = $data; + unset($data); } } else { // assume atom @@ -169,6 +170,7 @@ function load_rss(string $uri, string $linkrel = "alternate", ?bool $allow_html $data["date"]->setTimezone($config["timezone"]); $parsed[] = $data; + unset($data); } } |