[fix] freeing normalized string in address_parser_parse
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user