mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
x11: More XCB fixes.
Commit 65ef80b fixed building with xcb-util >= 0.3.8, but the reply is never checked (possible SIGSEGV if the reply is NULL) nor freed (memory leak at each call of the functions). Also, remove include and dependencies on xcb-atom, as it was only meaningful for xcb_atom_get() and STRING, and depend instead on xcb >= 1.6 for XCB_ATOM_STRING.
This commit is contained in:
parent
2f7eb35f37
commit
adb16f9ff4
2 changed files with 25 additions and 13 deletions
|
|
@ -591,7 +591,7 @@ AC_ARG_ENABLE([x11],
|
|||
[x11=auto])
|
||||
|
||||
if test "x${x11}" != xno ; then
|
||||
PKG_CHECK_MODULES(X11, [ x11-xcb ice sm xtst xcb-atom ],
|
||||
PKG_CHECK_MODULES(X11, [ x11-xcb xcb >= 1.6 ice sm xtst ],
|
||||
HAVE_X11=1,
|
||||
[
|
||||
HAVE_X11=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue