RsvgDefs: Keep track only of nodes that have an id, or are externals
RsvgDefs also stored all the RsvgNode objects inside an RsvgHandle so that they could be freed at destruction time. Now RsvgDefs only has references to nodes that have an XML id="foo" attribute, and references to external objects. The list of all nodes is kept in RsvgHandlePrivate now.
Showing with 39 additions and 20 deletions