summaryrefslogtreecommitdiff
path: root/src/libotutil/ot-variant-utils.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-04-09 15:48:20 -0400
committerColin Walters <walters@verbum.org>2012-04-09 15:57:46 -0400
commit87f45052af71a7b40cf2f806cabf595c57b60bf0 (patch)
tree9a4d5f63ae7e6bcf346983e2566b239cc691e628 /src/libotutil/ot-variant-utils.c
parentca08ad6c5e72f1b28aa2dab1d543166abb9f8622 (diff)
downloadostree-87f45052af71a7b40cf2f806cabf595c57b60bf0.tar.gz
core: Port libotutil to local-alloc
Diffstat (limited to 'src/libotutil/ot-variant-utils.c')
-rw-r--r--src/libotutil/ot-variant-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libotutil/ot-variant-utils.c b/src/libotutil/ot-variant-utils.c
index f30cb17a..34625132 100644
--- a/src/libotutil/ot-variant-utils.c
+++ b/src/libotutil/ot-variant-utils.c
@@ -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);