poesty 9 months ago
parent
commit
c5922f2ff4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rss2hook.go

+ 1 - 0
rss2hook.go

@@ -191,6 +191,7 @@ func main() {
 			// TODO: URL validiy checks
 			// TODO: URL validiy checks
 			if !*startup {
 			if !*startup {
 				feed.Unread = 0
 				feed.Unread = 0
+				feed.Items = nil // gc
 			}
 			}
 			feeds[i] = *feed
 			feeds[i] = *feed
 		}(i, ent)
 		}(i, ent)