[fix] Moving address_parser_response_destroy into libpostal so caller can free

This commit is contained in:
Al
2015-12-15 00:52:24 -05:00
parent ab3ba249d7
commit b9bf5c629e
4 changed files with 30 additions and 26 deletions

View File

@@ -107,8 +107,12 @@ static address_parser_options_t LIBPOSTAL_ADDRESS_PARSER_DEFAULT_OPTIONS = {
.country = NULL
};
void address_parser_response_destroy(address_parser_response_t *self);
address_parser_response_t *parse_address(char *address, address_parser_options_t options);
// Setup/teardown methods