Pete, Pat, Joe and Matt
Worked on some Delphi code
On a TreeView branch they sat
But couldn't find a node.
Up spoke Matt and Joe
Explained, Items must be nil
Pete and Pat said "No,
It's allocated still."
Pete and Pat then found
A pointer that was weak
Joe and Matt, they looked around
Fixed a major memory leak.
Pete, Pat, Joe and Matt
Worked on some Delphi code
On a TreeView branch they sat
And Items[0] was a TTreeNode.
Thursday, 16 February 2006