[fix] freeing normalized string in address_parser_parse

This commit is contained in:
Al
2017-02-09 14:33:13 -05:00
parent 904fde6b9b
commit 38c6c26146

View File

@@ -942,6 +942,10 @@ address_parser_response_t *address_parser_parse(char *address, char *language, c
tokenized_string_destroy(tokenized_str);
cstring_array_destroy(token_labels);
if (is_normalized) {
free(normalized);
}
return response;
}