diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-08-10 11:13:54 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-08-16 09:02:51 +0200 |
commit | 2bac070afdc070e1dcbdc5b4bf7589293a8fdb86 (patch) | |
tree | 22f76dd3a37bad091b9ca595bc0fee23859535c7 /gobject-introspection/gmetadata.c | |
parent | 7b468bcc55d61b10fee9c872ecb3acb5413426e2 (diff) | |
download | vala-2bac070afdc070e1dcbdc5b4bf7589293a8fdb86.tar.gz |
g-i: Fix deprecation warnings
Diffstat (limited to 'gobject-introspection/gmetadata.c')
-rw-r--r-- | gobject-introspection/gmetadata.c | 2 |
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); |