Revert "gallium/util: fix resource leak"
authorRoland Scheidegger <sroland@vmware.com>
Sat, 30 Jul 2016 16:18:09 +0000 (18:18 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 30 Jul 2016 16:18:09 +0000 (18:18 +0200)
This reverts commit d1fe26a62862f4e47a799222dca1bc1dc14ca4af.

Replacing a resource leak with a segfault isn't the solution.

src/gallium/auxiliary/util/u_format_s3tc.c

index 1ed4336d6596a2eb060058a28ce4db7c3bd2c8ec..8c4f2150bef57240ec4aa9a1a1e7782ac72d413f 100644 (file)
@@ -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);
 }