summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2016-07-30 01:35:39 +0100
committerMarek Olšák <[email protected]>2016-07-30 17:27:42 +0200
commitd1fe26a62862f4e47a799222dca1bc1dc14ca4af (patch)
treeca454a7e6cc7610943eff52d29f4aff5ddf46657 /src/gallium/auxiliary
parente713a9e61311249dfd6f76f3ab73da951b81239d (diff)
gallium/util: fix resource leak
CovID: 401540 Signed-off-by: Eric Engestrom <[email protected]> Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_format_s3tc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c
index 8c4f2150bef..1ed4336d659 100644
--- 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);
}