mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Replace deprecated g_mapped_file_free() with recommended g_mapped_file_unref()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22179 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -354,7 +354,9 @@ void gnc_csv_parse_data_free(GncCsvParseData* parse_data)
|
||||
/* All non-NULL pointers have been initialized and must be freed. */
|
||||
|
||||
if (parse_data->raw_mapping != NULL)
|
||||
g_mapped_file_free(parse_data->raw_mapping);
|
||||
{
|
||||
g_mapped_file_unref(parse_data->raw_mapping);
|
||||
}
|
||||
|
||||
if (parse_data->file_str.begin != NULL)
|
||||
g_free(parse_data->file_str.begin);
|
||||
|
||||
Reference in New Issue
Block a user