summaryrefslogtreecommitdiff
path: root/gobject-introspection/gmetadata.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-08-10 11:13:54 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-08-16 09:02:51 +0200
commit2bac070afdc070e1dcbdc5b4bf7589293a8fdb86 (patch)
tree22f76dd3a37bad091b9ca595bc0fee23859535c7 /gobject-introspection/gmetadata.c
parent7b468bcc55d61b10fee9c872ecb3acb5413426e2 (diff)
downloadvala-2bac070afdc070e1dcbdc5b4bf7589293a8fdb86.tar.gz
g-i: Fix deprecation warnings
Diffstat (limited to 'gobject-introspection/gmetadata.c')
-rw-r--r--gobject-introspection/gmetadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject-introspection/gmetadata.c b/gobject-introspection/gmetadata.c
index b68039043..963f9fe08 100644
--- a/gobject-introspection/gmetadata.c
+++ b/gobject-introspection/gmetadata.c
@@ -1845,7 +1845,7 @@ void
g_metadata_free (GMetadata *metadata)
{
if (metadata->mfile)
- g_mapped_file_free (metadata->mfile);
+ g_mapped_file_unref (metadata->mfile);
else
if (metadata->owns_memory)
g_free (metadata->data);