From c98eb6f2f55d566aaf76d8cc0ceab1a48ff11140 Mon Sep 17 00:00:00 2001 From: Ilya Konstantinov Date: Sun, 19 Apr 2015 01:15:07 +0300 Subject: [PATCH] corevideotexturecache: free texture cache on iOS https://bugzilla.gnome.org/show_bug.cgi?id=748122 --- sys/applemedia/corevideotexturecache.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/applemedia/corevideotexturecache.m b/sys/applemedia/corevideotexturecache.m index 0bd4afa06d..f935d38702 100644 --- a/sys/applemedia/corevideotexturecache.m +++ b/sys/applemedia/corevideotexturecache.m @@ -75,7 +75,7 @@ gst_core_video_texture_cache_free (GstCoreVideoTextureCache * cache) #if !HAVE_IOS CVOpenGLTextureCacheRelease (cache->cache); #else - /* FIXME: how do we release ->cache ? */ + CFRelease (cache->cache); /* iOS has no "CVOpenGLESTextureCacheRelease" */ #endif gst_object_unref (cache->convert); gst_object_unref (cache->ctx);