projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e713a9e
)
gallium/util: fix resource leak
author
Eric Engestrom
<eric@engestrom.ch>
Sat, 30 Jul 2016 00:35:39 +0000
(
01:35
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 30 Jul 2016 15:27:42 +0000
(17:27 +0200)
CovID: 401540
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/auxiliary/util/u_format_s3tc.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_format_s3tc.c
b/src/gallium/auxiliary/util/u_format_s3tc.c
index 8c4f2150bef57240ec4aa9a1a1e7782ac72d413f..1ed4336d6596a2eb060058a28ce4db7c3bd2c8ec 100644
(file)
--- a/
src/gallium/auxiliary/util/u_format_s3tc.c
+++ b/
src/gallium/auxiliary/util/u_format_s3tc.c
@@
-157,6
+157,8
@@
util_format_s3tc_init(void)
util_format_dxt5_rgba_fetch = (util_format_dxtn_fetch_t)fetch_2d_texel_rgba_dxt5;
util_format_dxtn_pack = (util_format_dxtn_pack_t)tx_compress_dxtn;
util_format_s3tc_enabled = TRUE;
+
+ util_dl_close(library);
}