Open GoogleCodeExporter opened 9 years ago
It's sorta hard to tell from this snippet here. The page you link to, Greg
replied that there is a cache you could be hitting.
Original comment by thoma...@gmail.com
on 29 Apr 2011 at 1:48
Since the code is "stealing" entries from the feed, leaving them pointing to
their parent feed (rather than copying the entries, which would create
independent versions) there may be an issue with the strings cache. The cache
is stored in the document, which in the initial response is in the feed being
discarded.
Try disabling the cache by commenting out -addStringsCacheToDoc in
GDataXMLNode.m and see if that changes the leaks report.
Original comment by gregrobbins
on 29 Apr 2011 at 2:05
Also, try explicitly copying the entries from the feed rather than just
retaining them:
NSArray *entryCopies = [GDataUtilities
arrayWithCopiesOfObjectsInArray:[feedBase entries]];
[tempFeedArray addObjectsFromArray:entryCopies];
Original comment by g...@coldnose.net
on 29 Apr 2011 at 4:45
Original issue reported on code.google.com by
agr....@gmail.com
on 29 Apr 2011 at 5:37Attachments: