core: Port libotutil to local-alloc

This commit is contained in:
Colin Walters committed 2012-04-09 15:57:46 -04:00
1 parent ca08ad6c5e
commit 87f45052af
3 files changed
+17 -35

No files matched your search

+1 -1
View File
@@ -113,9 +113,9 @@ ot_util_variant_map (GFile *src,
GError **error)
{
gboolean ret = FALSE;
GMappedFile *mfile = NULL;
const char *path = NULL;
ot_lvariant GVariant *ret_variant = NULL;
GMappedFile *mfile = NULL;
path = ot_gfile_get_path_cached (src);
mfile = g_mapped_file_new (path, FALSE, error);