summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2016-07-30 18:18:09 +0200
committerRoland Scheidegger <[email protected]>2016-07-30 18:18:09 +0200
commit99a47391e430d27fb745450e450bf180ec48c8a6 (patch)
tree559eb38f228405b22d93c1aa283b5cc467fc0eb5 /src/gallium
parentd1fe26a62862f4e47a799222dca1bc1dc14ca4af (diff)
Revert "gallium/util: fix resource leak"
This reverts commit d1fe26a62862f4e47a799222dca1bc1dc14ca4af. Replacing a resource leak with a segfault isn't the solution.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_format_s3tc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c
index 1ed4336d659..8c4f2150bef 100644
--- a/src/gallium/auxiliary/util/u_format_s3tc.c
+++ b/src/gallium/auxiliary/util/u_format_s3tc.c
@@ -157,8 +157,6 @@ 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);
}