mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
registry: g_mapped_file_unref exists already since GLib 2.21.3
This commit is contained in:
parent
14023fff89
commit
0bb4fafd30
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ Error:
|
||||||
g_timer_destroy (timer);
|
g_timer_destroy (timer);
|
||||||
#endif
|
#endif
|
||||||
if (mapped) {
|
if (mapped) {
|
||||||
#if GLIB_CHECK_VERSION(2,22,0)
|
#if GLIB_CHECK_VERSION(2,21,3)
|
||||||
g_mapped_file_unref (mapped);
|
g_mapped_file_unref (mapped);
|
||||||
#else
|
#else
|
||||||
g_mapped_file_free (mapped);
|
g_mapped_file_free (mapped);
|
||||||
|
|
Loading…
Reference in a new issue