diff --git a/gdk-pixbuf/pixops/pixops.c b/gdk-pixbuf/pixops/pixops.c index 3d01edaf2a..513d16fc8b 100644 --- a/gdk-pixbuf/pixops/pixops.c +++ b/gdk-pixbuf/pixops/pixops.c @@ -217,10 +217,7 @@ _pixops_use_medialib () * For x86 processors use of libumem conflicts with * mediaLib, so avoid using it. */ - if ((dlsym (RTLD_DEFAULT, "umem_alloc") != NULL) || - (dlsym (RTLD_PROBE, "umem_alloc") != NULL) || - (dlsym (RTLD_NEXT, "umem_alloc") != NULL) || - (dlsym (RTLD_SELF, "umem_alloc") != NULL)) + if (dlsym (RTLD_PROBE, "umem_alloc") != NULL) { use_medialib = FALSE; return; diff --git a/gdk/gdkmedialib.c b/gdk/gdkmedialib.c index 0a2301208f..effb89dd85 100644 --- a/gdk/gdkmedialib.c +++ b/gdk/gdkmedialib.c @@ -104,10 +104,7 @@ _gdk_use_medialib (void) * For x86 processors use of libumem conflicts with * mediaLib, so avoid using it. */ - if ((dlsym (RTLD_DEFAULT, "umem_alloc") != NULL) || - (dlsym (RTLD_PROBE, "umem_alloc") != NULL) || - (dlsym (RTLD_NEXT, "umem_alloc") != NULL) || - (dlsym (RTLD_SELF, "umem_alloc") != NULL)) + if (dlsym (RTLD_PROBE, "umem_alloc") != NULL) { return FALSE; }