I'm using libsmi-0.3.1. There is a memory leak in the following code use of libsmi. The call to smiGetParentNode() does a addObject("<implicit>"...) and it allocates two objects Object and Node, but because this node has no parent addNode() doesn't assign the new node to anything. I found this because I have some code that travels up the parent nodes of a oid.
pNode = smiGetNode( NULL, "1" );
SmiNode* pNode2 = smiGetParentNode( pNode );
Steve Hills
NCR