[OGo-Developer] Missing release in SkyNoteList?

Adam Tauno Williams developer@opengroupware.org
Thu, 15 Mar 2007 06:51:01 -0400


> > In looking at the patch for Bug#1627 I notices that there is an  
> > "NSArray
> > *projects", and it doesn't get released in the dealloc.  (This wasn't
> > introduced by the patch, I just noticed it because of the patch).  A
> > leak?
> Looks like.
> > Although neither in the page code or the template(s) do I see anything
> > that looks like it refers to "projects".  "project", but not  
> > "projects".
> Try removing the ivar, do a "make clean all" and see what happens :-)

Already did; it does noting.  Without it you can still create, see,
print, delete, edit, and link notes in both project and appointment
views.

> In SOPE templates only access ivars using accessor methods (- 
> setIvar:,-ivar), so if an ivar isn't referred from code, it can't be  
> used by a template.
> [this is different to other ObjC Foundation libraries]

Ok,  that explains allot.