You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Author: rkr [Added to the original trac issue at 8.09am, Saturday, 23rd April 2011]
Since revision 24099 the appropriate code was moved to parse-primitive.c and xmlTextReaderGetAttribute was replaced by extractAttribute which does not allocate any memory. Therefore the bug can be considered as fixed.
Reporter: rkr
[Submitted to the original trac issue database at 11.31am, Wednesday, 24th February 2010]
Revision 19148, file: osm2pgsql.c, function: ParseAction
The allocated variable action is not freed after the call of
*action = xmlTextReaderGetAttribute( reader, BAD_CAST "action" );
Possible fix: add before return new_action;
if(action != NULL)
xmlFree(action);
The text was updated successfully, but these errors were encountered: