diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-26 23:40:51 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-26 23:42:17 +0200 |
commit | 37dd6ced1e1763b2da2d08f5dd0df1bf7a6458a9 (patch) | |
tree | 52531e782c02b0c86870b4f3f8838573b48f0a80 /external/libgltf/UnpackedTarball_libgltf.mk | |
parent | 22fd097f37b905cb3b585caf96890690befed863 (diff) |
patching libgltf: stop a huge memory leak
It is ambiguos where we should free file buffers because they
are allocated by the caller code, but since gltfHandle is
deallocated inside libgltf and libgltf has a gltf_renderer_release
method for deallocation it seems better to free them by libgltf.
Conflicts:
external/libgltf/UnpackedTarball_libgltf.mk
Change-Id: If3d9abed0514128c13cde8c1967ea80c4d27bf59
Diffstat (limited to 'external/libgltf/UnpackedTarball_libgltf.mk')
-rw-r--r-- | external/libgltf/UnpackedTarball_libgltf.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/libgltf/UnpackedTarball_libgltf.mk b/external/libgltf/UnpackedTarball_libgltf.mk index 33889fb49089..99609ba045ce 100644 --- a/external/libgltf/UnpackedTarball_libgltf.mk +++ b/external/libgltf/UnpackedTarball_libgltf.mk @@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libgltf,\ external/libgltf/patches/include_path_glew.patch \ external/libgltf/patches/include_path_freetype.patch \ external/libgltf/patches/openmp-disable.patch \ + external/libgltf/patches/free_file_buffers.patch \ )) # vim: set noet sw=4 ts=4: |