mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-05 07:40:01 +00:00
binaryregistry: use function introduced in GLib 2.22 unconditionally
This commit is contained in:
parent
77830123cf
commit
f4e57cee5d
1 changed files with 0 additions and 4 deletions
|
@ -611,11 +611,7 @@ Error:
|
|||
g_timer_destroy (timer);
|
||||
#endif
|
||||
if (mapped) {
|
||||
#if GLIB_CHECK_VERSION(2,21,3)
|
||||
g_mapped_file_unref (mapped);
|
||||
#else
|
||||
g_mapped_file_free (mapped);
|
||||
#endif
|
||||
} else {
|
||||
g_free (contents);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue