aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rss.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/rss.php b/rss.php
index 29e7568..e91b1ff 100644
--- a/rss.php
+++ b/rss.php
@@ -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);
}
}