aboutsummaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
authorAleteoryx <alyx@aleteoryx.me>2024-11-15 00:56:12 -0500
committerAleteoryx <alyx@aleteoryx.me>2024-11-15 00:56:12 -0500
commita7f5d97c084a8c1cbab189675e51dcccbef04fb7 (patch)
tree3d7c375f799cc52e825e4653f7a311d2c09c9af5 /rss.php
parent9e92b1a0518fec0fe1033309510aa4f8027bab05 (diff)
downloadrss_dot_php-a7f5d97c084a8c1cbab189675e51dcccbef04fb7.tar.gz
rss_dot_php-a7f5d97c084a8c1cbab189675e51dcccbef04fb7.tar.bz2
rss_dot_php-a7f5d97c084a8c1cbab189675e51dcccbef04fb7.zip
oops
Diffstat (limited to 'rss.php')
-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);
}
}