mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
instead of checking for directly use new function pa_in_valgrind()
This commit is contained in:
parent
8222f1200f
commit
9b00664295
1 changed files with 2 additions and 2 deletions
|
|
@ -112,9 +112,9 @@ void pa_drop_caps(void) {
|
||||||
|
|
||||||
#ifndef __OPTIMIZE__
|
#ifndef __OPTIMIZE__
|
||||||
/* Valgrind doesn't not know set_caps, so we bypass it here -- but
|
/* Valgrind doesn't not know set_caps, so we bypass it here -- but
|
||||||
* only in development builts.*/
|
* only in development builds.*/
|
||||||
|
|
||||||
if (getenv("VALGRIND") && !pa_have_caps())
|
if (pa_in_valgrind() && !pa_have_caps())
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue