GNOME Bugzilla – Bug 668940
Memory leak when parsing fails for a child element of a Path
Last modified: 2012-01-29 14:09:48 UTC
Created attachment 206346 [details] [review] add error handler to path GMarkupParser A GXPSPath struct is leaked when a parsing fails for a child element of a Path. Example: <Path> <Path.Data> <PathGeometry Transform="invalid" /> </Path.Data> </Path> Parsing is aborted when invalid data is encountered and cleanup code is not run. This adds a error handler to the path GMarkupParser to free the struct on error.
Review of attachment 206346 [details] [review]: Pushed to git master. Thanks!