r22179 - gnucash/trunk/src/import-export/csv-import - Replace deprecated g_mapped_file_free() with recommended g_mapped_file_unref()
Phil Longstaff
plongstaff at code.gnucash.org
Sun May 20 17:12:51 EDT 2012
Author: plongstaff
Date: 2012-05-20 17:12:50 -0400 (Sun, 20 May 2012)
New Revision: 22179
Trac: http://svn.gnucash.org/trac/changeset/22179
Modified:
gnucash/trunk/src/import-export/csv-import/gnc-csv-model.c
Log:
Replace deprecated g_mapped_file_free() with recommended g_mapped_file_unref()
Modified: gnucash/trunk/src/import-export/csv-import/gnc-csv-model.c
===================================================================
--- gnucash/trunk/src/import-export/csv-import/gnc-csv-model.c 2012-05-19 06:23:46 UTC (rev 22178)
+++ gnucash/trunk/src/import-export/csv-import/gnc-csv-model.c 2012-05-20 21:12:50 UTC (rev 22179)
@@ -354,7 +354,9 @@
/* 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);
More information about the gnucash-changes
mailing list