<86>Nov 20 03:50:10 userdel[1059665]: delete user 'rooter' <86>Nov 20 03:50:10 userdel[1059665]: removed group 'rooter' owned by 'rooter' <86>Nov 20 03:50:10 userdel[1059665]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 20 03:50:10 groupadd[1059680]: group added to /etc/group: name=rooter, GID=1847 <86>Nov 20 03:50:10 groupadd[1059680]: group added to /etc/gshadow: name=rooter <86>Nov 20 03:50:10 groupadd[1059680]: new group: name=rooter, GID=1847 <86>Nov 20 03:50:10 useradd[1059700]: new user: name=rooter, UID=1847, GID=1847, home=/root, shell=/bin/bash, from=none <86>Nov 20 03:50:10 userdel[1059729]: delete user 'builder' <86>Nov 20 03:50:10 userdel[1059729]: removed group 'builder' owned by 'builder' <86>Nov 20 03:50:10 userdel[1059729]: removed shadow group 'builder' owned by 'builder' <86>Nov 20 03:50:10 groupadd[1059755]: group added to /etc/group: name=builder, GID=1848 <86>Nov 20 03:50:10 groupadd[1059755]: group added to /etc/gshadow: name=builder <86>Nov 20 03:50:10 groupadd[1059755]: new group: name=builder, GID=1848 <86>Nov 20 03:50:10 useradd[1059770]: new user: name=builder, UID=1848, GID=1848, home=/usr/src, shell=/bin/bash, from=none <13>Nov 20 03:50:13 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>Nov 20 03:50:13 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Nov 20 03:50:13 rpmi: libuv-1.46.0-alt1 sisyphus+326001.100.1.1 1690655254 installed <13>Nov 20 03:50:13 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444232 installed <13>Nov 20 03:50:13 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Nov 20 03:50:13 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063190 installed <13>Nov 20 03:50:13 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Nov 20 03:50:13 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Nov 20 03:50:13 rpmi: libgnutls30-3.8.1-alt2 sisyphus+326772.40.3.1 1692114175 installed <13>Nov 20 03:50:13 rpmi: libngtcp2.16-1.0.1-alt1 sisyphus+332583.200.2.1 1698669153 installed <13>Nov 20 03:50:13 rpmi: libngtcp2_crypto_gnutls8-1.0.1-alt1 sisyphus+332583.200.2.1 1698669153 installed <13>Nov 20 03:50:13 rpmi: libxxhash-0.8.0-alt2 sisyphus+277476.100.2.1 1625621312 installed <13>Nov 20 03:50:13 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Nov 20 03:50:13 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Nov 20 03:50:14 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472816 installed <13>Nov 20 03:50:14 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472816 installed <13>Nov 20 03:50:14 rpmi: rpm-macros-cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Nov 20 03:50:14 rpmi: cmake-modules-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Nov 20 03:50:14 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Nov 20 03:50:14 rpmi: publicsuffix-list-dafsa-20231026-alt1 sisyphus+332908.100.1.1 1698419299 installed <13>Nov 20 03:50:14 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131178 installed <13>Nov 20 03:50:14 rpmi: libnghttp3.9-1.0.0-alt1 sisyphus+332583.100.2.1 1698669103 installed <13>Nov 20 03:50:14 rpmi: libnghttp2-1.57.0-alt1 sisyphus+331457.200.2.1 1697011702 installed <13>Nov 20 03:50:14 rpmi: openldap-common-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Nov 20 03:50:14 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Nov 20 03:50:14 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Nov 20 03:50:14 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Nov 20 03:50:14 rpmi: liblmdb-0.9.31-alt1 sisyphus+330946.40.2.1 1696431544 installed <13>Nov 20 03:50:14 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Nov 20 03:50:14 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Nov 20 03:50:14 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Nov 20 03:50:14 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Nov 20 03:50:14 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 20 03:50:14 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 20 03:50:14 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Nov 20 03:50:14 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Nov 20 03:50:14 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063190 installed <13>Nov 20 03:50:14 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <13>Nov 20 03:50:14 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <86>Nov 20 03:50:14 groupadd[1065941]: group added to /etc/group: name=_keytab, GID=999 <86>Nov 20 03:50:14 groupadd[1065941]: group added to /etc/gshadow: name=_keytab <86>Nov 20 03:50:14 groupadd[1065941]: new group: name=_keytab, GID=999 <13>Nov 20 03:50:14 rpmi: libkrb5-1.21.2-alt1 sisyphus+327265.100.1.1 1692185462 installed <86>Nov 20 03:50:14 groupadd[1065976]: group added to /etc/group: name=sasl, GID=998 <86>Nov 20 03:50:14 groupadd[1065976]: group added to /etc/gshadow: name=sasl <86>Nov 20 03:50:14 groupadd[1065976]: new group: name=sasl, GID=998 <13>Nov 20 03:50:14 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392001 installed <13>Nov 20 03:50:14 rpmi: libldap2-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Nov 20 03:50:14 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696954 installed <13>Nov 20 03:50:14 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326379 installed <13>Nov 20 03:50:14 rpmi: libssh2-1.11.0-alt1 sisyphus+327652.100.1.1 1692636577 installed <13>Nov 20 03:50:14 rpmi: libcurl-8.4.0-alt1 sisyphus+333173.300.3.1 1698701734 installed <13>Nov 20 03:50:15 rpmi: cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Nov 20 03:50:15 rpmi: ctest-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Nov 20 03:50:15 rpmi: libsasl2-devel-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392001 installed <13>Nov 20 03:50:15 rpmi: libssl-devel-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <13>Nov 20 03:50:15 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Nov 20 03:50:15 rpmi: liblz4-devel-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Nov 20 03:50:15 rpmi: libxxhash-devel-0.8.0-alt2 sisyphus+277476.100.2.1 1625621312 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/librdkafka-2.3.0-alt1.nosrc.rpm (w1.gzdio) Installing librdkafka-2.3.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27449 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf librdkafka-2.3.0 + echo 'Source #0 (librdkafka-2.3.0.tar):' Source #0 (librdkafka-2.3.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/librdkafka-2.3.0.tar + cd librdkafka-2.3.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.27449 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd librdkafka-2.3.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules checking for OS or distribution... ok (altlinux) checking for C compiler from CC env... failed checking for gcc (by command)... ok checking for C++ compiler from CXX env... failed checking for C++ compiler (g++)... ok checking executable ld... ok checking executable nm... ok checking executable objdump... ok checking executable strip... ok checking executable libtool... ok checking executable ranlib... ok checking for pkgconfig (by command)... ok checking for install (by command)... ok checking for GNU ar... ok checking for PIC (by compile)... ok checking for GNU-compatible linker options... ok checking for GNU linker-script ld flag... ok checking for __atomic_32 (by compile)... ok checking for __atomic_64 (by compile)... ok checking for socket (by compile)... ok parsing version '0x020300ff'... ok (2.3.0) checking for librt (by pkg-config)... failed checking for librt (by compile)... ok checking for libpthread (by pkg-config)... failed checking for libpthread (by compile)... ok checking for c11threads (by pkg-config)... failed checking for c11threads (by compile)... ok checking for libdl (by pkg-config)... failed checking for libdl (by compile)... ok checking for zlib (by pkg-config)... failed checking for zlib (by compile)... failed (disable) checking for libcrypto (by pkg-config)... ok checking for libssl (by pkg-config)... ok checking for libsasl2 (by pkg-config)... ok checking for libzstd (by pkg-config)... failed checking for libzstd (by compile)... failed (disable) checking for libcurl (by pkg-config)... failed checking for libcurl (by compile)... failed (disable) checking for libm (by pkg-config)... failed checking for libm (by compile)... ok checking for liblz4 (by pkg-config)... ok checking for syslog (by compile)... ok checking for rapidjson (by compile)... failed (disable) checking for crc32chw (by compile)... ok checking for regex (by compile)... ok checking for rand_r (by compile)... ok checking for strndup (by compile)... ok checking for strlcpy (by compile)... ok checking for strerror_r (by compile)... ok checking for strcasestr (by compile)... ok checking for pthread_setname_gnu (by compile)... ok checking for nm (by env NM)... ok (cached) checking for python3 (by command)... failed (disable) disabling linker-script since python3 is not available checking for getrusage (by compile)... ok Generated Makefile.config Generated config.h Configuration summary: prefix /usr MKL_DISTRO altlinux SOLIB_EXT .so ARCH x86_64 CPU generic GEN_PKG_CONFIG y BUILD x86_64-alt-linux HOST x86_64-alt-linux exec_prefix /usr bindir /usr/bin sbindir /usr/sbin sysconfdir /etc datadir /usr/share includedir /usr/include libdir /usr/lib64 libexecdir /usr/lib localstatedir /var/lib sharedstatedir /var/lib mandir /usr/share/man infodir /usr/share/info COMPAT_DISABLE_DEP_TRACK y COMPAT_DISABLE_SILENT_RULES y MKL_APP_NAME librdkafka MKL_APP_DESC_ONELINE The Apache Kafka C/C++ library LDFLAGS -L/usr/lib64 CPPFLAGS -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align CC gcc CXX g++ LD ld NM nm OBJDUMP objdump STRIP strip LIBTOOL libtool RANLIB ranlib CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto CXXFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor PKG_CONFIG pkg-config INSTALL /bin/install HAS_GNU_AR y LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME) LDFLAG_LINKERSCRIPT -Wl,--version-script= RDKAFKA_VERSION_STR 2.3.0 MKL_APP_VERSION 2.3.0 LIBS -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt MKL_PKGCONFIG_LIBS_PRIVATE -lm -ldl -lpthread -lrt -lpthread -lrt MKL_PKGCONFIG_REQUIRES_PRIVATE libcrypto libssl libsasl2 liblz4 MKL_PKGCONFIG_REQUIRES libcrypto libssl libsasl2 liblz4 SYMDUMPER $(NM) -D MKL_DYNAMIC_LIBS -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt runstatedir /usr/var/run BUILT_WITH GCC GXX PKGCONFIG INSTALL GNULD C11THREADS LIBDL PLUGINS SSL SASL_CYRUS HDRHISTOGRAM LZ4_EXT SYSLOG SNAPPY SOCKEM SASL_SCRAM SASL_OAUTHBEARER CRC32C_HW Generated config.cache Now type 'make' to build + make -j16 make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_timer.c -o rdkafka_timer.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_pattern.c -o rdkafka_pattern.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_transport.c -o rdkafka_transport.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_op.c -o rdkafka_op.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_buf.c -o rdkafka_buf.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_queue.c -o rdkafka_queue.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_offset.c -o rdkafka_offset.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_topic.c -o rdkafka_topic.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_subscription.c -o rdkafka_subscription.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdcrc32.c -o rdcrc32.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_msg.c -o rdkafka_msg.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c crc32c.c -o crc32c.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdmurmur2.c -o rdmurmur2.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_conf.c -o rdkafka_conf.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdfnv1a.c -o rdfnv1a.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_assignment.c -o rdkafka_assignment.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdaddr.c -o rdaddr.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_partition.c -o rdkafka_partition.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdrand.c -o rdrand.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdlist.c -o rdlist.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tinycthread.c -o tinycthread.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c tinycthread_extra.c -o tinycthread_extra.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_feature.c -o rdkafka_feature.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c cJSON.c -o cJSON.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdregex.c -o rdregex.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_assignor.c -o rdkafka_assignor.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdstring.c -o rdstring.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_broker.c -o rdkafka_broker.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdports.c -o rdports.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka.c -o rdkafka.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdlog.c -o rdlog.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_event.c -o rdkafka_event.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdavl.c -o rdavl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_cgrp.c -o rdkafka_cgrp.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_sticky_assignor.c -o rdkafka_sticky_assignor.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_sasl.c -o rdkafka_sasl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_header.c -o rdkafka_header.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_interceptor.c -o rdkafka_interceptor.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdvarint.c -o rdvarint.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_request.c -o rdkafka_request.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdmap.c -o rdmap.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_background.c -o rdkafka_background.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdbase64.c -o rdbase64.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_aux.c -o rdkafka_aux.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_idempotence.c -o rdkafka_idempotence.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_cert.c -o rdkafka_cert.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdbuf.c -o rdbuf.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_coord.c -o rdkafka_coord.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_metadata.c -o rdkafka_metadata.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdunittest.c -o rdunittest.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_error.c -o rdkafka_error.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdhdrhistogram.c -o rdhdrhistogram.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Generating pkg-config file rdkafka.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rddl.c -o rddl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_mock_cgrp.c -o rdkafka_mock_cgrp.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_sasl_cyrus.c -o rdkafka_sasl_cyrus.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_txnmgr.c -o rdkafka_txnmgr.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_sasl_scram.c -o rdkafka_sasl_scram.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -O3 -c rdxxhash.c -o rdxxhash.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c snappy.c -o snappy.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_sasl_oauthbearer.c -o rdkafka_sasl_oauthbearer.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_fetcher.c -o rdkafka_fetcher.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_mock.c -o rdkafka_mock.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_lz4.c -o rdkafka_lz4.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_plugin.c -o rdkafka_plugin.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_ssl.c -o rdkafka_ssl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_mock_handlers.c -o rdkafka_mock_handlers.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c rdkafka_admin.c -o rdkafka_admin.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Creating static library librdkafka.a ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdhdrhistogram.o rdkafka_ssl.o rdkafka_lz4.o rdxxhash.o rddl.o rdkafka_plugin.o cp librdkafka.a librdkafka-dbg.a make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' WARNING: librdkafka-static.a: No static libraries available/enabled for inclusion in self-contained static library librdkafka-static.a: this library will be identical to librdkafka.a WARNING: librdkafka-static.a: The following libraries were not available as static libraries and need to be linked dynamically: -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt cp librdkafka.a librdkafka-static.a cp librdkafka-dbg.a librdkafka-static-dbg.a cp librdkafka-static.a librdkafka-static-dbg.a make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Generating pkg-config file rdkafka-static.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Creating shared library librdkafka.so.1 gcc -L/usr/lib64 -shared -Wl,-soname,librdkafka.so.1 rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdhdrhistogram.o rdkafka_ssl.o rdkafka_lz4.o rdxxhash.o rddl.o rdkafka_plugin.o -o librdkafka.so.1 -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt cp librdkafka.so.1 librdkafka-dbg.so.1 make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Creating librdkafka.so symlink rm -f "librdkafka.so" && ln -s "librdkafka.so.1" "librdkafka.so" make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c MetadataImpl.cpp -o MetadataImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c TopicPartitionImpl.cpp -o TopicPartitionImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c HeadersImpl.cpp -o HeadersImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c QueueImpl.cpp -o QueueImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -c KafkaConsumerImpl.cpp -o KafkaConsumerImpl.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Creating static library librdkafka++.a ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o cp librdkafka++.a librdkafka++-dbg.a make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Creating shared library librdkafka++.so.1 g++ -L/usr/lib64 -shared -Wl,-soname,librdkafka++.so.1 RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o -o librdkafka++.so.1 -L../src -lrdkafka cp librdkafka++.so.1 librdkafka++-dbg.so.1 make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Creating librdkafka++.so symlink rm -f "librdkafka++.so" && ln -s "librdkafka++.so.1" "librdkafka++.so" make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make -C examples make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src consumer.c -o consumer -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src list_consumer_groups.c -o list_consumer_groups -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResult_destroy' at ../src/rdkafka_admin.c:7210:9, inlined from 'rd_kafka_ListConsumerGroupsResult_free' at ../src/rdkafka_admin.c:7215:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 40 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:7395:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'valid' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:7304:19: note: declared here 7304 | rd_list_t valid, errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:7396:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'errors' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:7304:26: note: declared here 7304 | rd_list_t valid, errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroups_response_merge' at ../src/rdkafka_admin.c:7425:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'new_valid' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroups_response_merge': ../src/rdkafka_admin.c:7409:19: note: declared here 7409 | rd_list_t new_valid, new_errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroups_response_merge' at ../src/rdkafka_admin.c:7426:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'new_errors' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroups_response_merge': ../src/rdkafka_admin.c:7409:30: note: declared here 7409 | rd_list_t new_valid, new_errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src idempotent_producer.c -o idempotent_producer -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src producer.c -o producer -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src transactions.c -o transactions -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_372' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_372' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src rdkafka_complex_consumer_example.c -o rdkafka_complex_consumer_example -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ # rdkafka_complex_consumer_example is ready # ./rdkafka_complex_consumer_example .. # # More usage options: ./rdkafka_complex_consumer_example -h make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src describe_cluster.c -o describe_cluster -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src rdkafka_example.c -o rdkafka_example -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3568:15, inlined from 'main' at rdkafka_example.c:704:36: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'main': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'main' at rdkafka_example.c:807:31: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'main': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ # rdkafka_example is ready # # Run producer (write messages on stdin) ./rdkafka_example -P -t -p # or consumer ./rdkafka_example -C -t -p # # More usage options: ./rdkafka_example -h make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src delete_records.c -o delete_records -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3565:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3572:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3599:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src rdkafka_performance.c -o rdkafka_performance -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ # rdkafka_performance is ready # # Run producer ./rdkafka_performance -P -t -p -s # or consumer ./rdkafka_performance -C -t -p # # More usage options: ./rdkafka_performance -h make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src describe_topics.c -o describe_topics -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -I../src-cpp openssl_engine_example.cpp -o openssl_engine_example_cpp -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src describe_consumer_groups.c -o describe_consumer_groups -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:8169:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'members' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:8043:27: note: declared here 8043 | rd_list_t members; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:8169:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'members' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:8043:27: note: declared here 8043 | rd_list_t members; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConsumerGroupDescription_destroy' at ../src/rdkafka_admin.c:7824:9, inlined from 'rd_kafka_ConsumerGroupDescription_free' at ../src/rdkafka_admin.c:7837:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -I../src-cpp rdkafka_example.cpp -o rdkafka_example_cpp -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -I../src-cpp rdkafka_complex_consumer_example.cpp -o rdkafka_complex_consumer_example_cpp -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-non-virtual-dtor -I../src-cpp kafkatest_verifiable_client.cpp -o kafkatest_verifiable_client -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src list_consumer_group_offsets.c -o list_consumer_group_offsets -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src user_scram.c -o user_scram -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src list_offsets.c -o list_offsets -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3565:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3572:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3599:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src misc.c -o misc -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src alter_consumer_group_offsets.c -o alter_consumer_group_offsets -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_552' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I../src incremental_alter_configs.c -o incremental_alter_configs -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lsasl2 -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_86(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigEntry_destroy' at ../src/rdkafka_admin.c:2668:9, inlined from 'rd_kafka_ConfigEntry_free' at ../src/rdkafka_admin.c:2674:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigEntry_copy' at ../src/rdkafka_admin.c:2725:9, inlined from 'rd_kafka_ConfigEntry_list_copy' at ../src/rdkafka_admin.c:2734:16: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_23' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_ConfigEntry_new0' at ../src/rdkafka_admin.c:2695:21, inlined from 'rd_kafka_ConfigEntry_new' at ../src/rdkafka_admin.c:2710:16, inlined from 'rd_kafka_ConfigEntry_copy' at ../src/rdkafka_admin.c:2722:18, inlined from 'rd_kafka_ConfigEntry_list_copy' at ../src/rdkafka_admin.c:2734:16: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_destroy' at ../src/rdkafka_admin.c:2859:9, inlined from 'rd_kafka_ConfigResource_free' at ../src/rdkafka_admin.c:2866:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_copy' at ../src/rdkafka_admin.c:2898:9, inlined from 'rd_kafka_IncrementalAlterConfigs' at ../src/rdkafka_admin.c:3458:29: ../src/rd.h:151:9: warning: 'free' called on pointer 'dst_188' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_ConfigResource_copy', inlined from 'rd_kafka_IncrementalAlterConfigs' at ../src/rdkafka_admin.c:3458:29: ../src/rdkafka_admin.c:2896:15: note: returned from 'rd_kafka_ConfigResource_new' 2896 | dst = rd_kafka_ConfigResource_new(src->restype, src->name); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_487' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_283->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_13(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_24(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_84(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' Updating CONFIGURATION.md make: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' make: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' Checking integrity CONFIGURATION.md OK examples/rdkafka_example OK examples/rdkafka_performance OK examples/rdkafka_example_cpp OK make: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.82471 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/librdkafka-buildroot + : + /bin/rm -rf -- /usr/src/tmp/librdkafka-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd librdkafka-2.3.0 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/librdkafka-buildroot make: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Install librdkafka to /usr/src/tmp/librdkafka-buildroot/usr /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/include/librdkafka /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/lib64 /usr/libexec/rpm-build/install -p rdkafka.h rdkafka_mock.h $DESTDIR/usr/include/librdkafka /usr/libexec/rpm-build/install -p librdkafka.a $DESTDIR/usr/lib64 [ ! -f librdkafka-static.a ] || /usr/libexec/rpm-build/install -p librdkafka-static.a $DESTDIR/usr/lib64 /usr/libexec/rpm-build/install -p librdkafka.so.1 $DESTDIR/usr/lib64 [ -f "rdkafka.pc" ] && ( \ /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/libexec/rpm-build/install -p -m 0644 rdkafka.pc $DESTDIR/usr/lib64/pkgconfig \ ) [ -f "rdkafka-static.pc" ] && ( \ /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/libexec/rpm-build/install -p -m 0644 rdkafka-static.pc $DESTDIR/usr/lib64/pkgconfig \ ) (cd $DESTDIR/usr/lib64 && ln -sf librdkafka.so.1 librdkafka.so) make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Install librdkafka++ to /usr/src/tmp/librdkafka-buildroot/usr /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/include/librdkafka /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/lib64 /usr/libexec/rpm-build/install -p rdkafkacpp.h $DESTDIR/usr/include/librdkafka /usr/libexec/rpm-build/install -p librdkafka++.a $DESTDIR/usr/lib64 [ ! -f librdkafka++-static.a ] || /usr/libexec/rpm-build/install -p librdkafka++-static.a $DESTDIR/usr/lib64 /usr/libexec/rpm-build/install -p librdkafka++.so.1 $DESTDIR/usr/lib64 [ -f "rdkafka++.pc" ] && ( \ /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/libexec/rpm-build/install -p -m 0644 rdkafka++.pc $DESTDIR/usr/lib64/pkgconfig \ ) [ -f "rdkafka++-static.pc" ] && ( \ /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/libexec/rpm-build/install -p -m 0644 rdkafka++-static.pc $DESTDIR/usr/lib64/pkgconfig \ ) (cd $DESTDIR/usr/lib64 && ln -sf librdkafka++.so.1 librdkafka++.so) make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK Symbol visibility OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make -C examples make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/examples' Updating CONFIGURATION.md Installing documentation to /usr/src/tmp/librdkafka-buildroot/usr /usr/libexec/rpm-build/install -p -d $DESTDIR/usr/share/doc/librdkafka /usr/libexec/rpm-build/install -p LICENSE LICENSES.txt INTRODUCTION.md README.md CONFIGURATION.md STATISTICS.md CHANGELOG.md $DESTDIR/usr/share/doc/librdkafka make: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' + mkdir -p /usr/src/tmp/librdkafka-buildroot/usr/lib64/pkgconfig + cp /usr/src/RPM/SOURCES/rdkafka.pc /usr/src/tmp/librdkafka-buildroot/usr/lib64/pkgconfig/ + /usr/bin/subst 's|@VERSION@|2.3.0|g' /usr/src/tmp/librdkafka-buildroot/usr/lib64/pkgconfig/rdkafka++-static.pc /usr/src/tmp/librdkafka-buildroot/usr/lib64/pkgconfig/rdkafka++.pc /usr/src/tmp/librdkafka-buildroot/usr/lib64/pkgconfig/rdkafka-static.pc /usr/src/tmp/librdkafka-buildroot/usr/lib64/pkgconfig/rdkafka.pc + rm -f /usr/src/tmp/librdkafka-buildroot/usr/lib64/librdkafka++.a /usr/src/tmp/librdkafka-buildroot/usr/lib64/librdkafka-static.a /usr/src/tmp/librdkafka-buildroot/usr/lib64/librdkafka.a + rm -f /usr/src/tmp/librdkafka-buildroot/usr/share/licenses/librdkafka/LICENSES.txt + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/librdkafka-buildroot (auto) mode of './usr/lib64/librdkafka++.so.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/librdkafka.so.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/librdkafka-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib64/pkgconfig/rdkafka-static.pc: Cflags: '-I${includedir}' --> '' /usr/lib64/pkgconfig/rdkafka-static.pc: Libs: '-L${libdir} ${pc_sysrootdir}${libdir}/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt' --> '${pc_sysrootdir}${libdir}/librdkafka.a -lm -ldl -lpthread -lrt -lpthread -lrt' /usr/lib64/pkgconfig/rdkafka++.pc: Cflags: '-I${includedir}' --> '' /usr/lib64/pkgconfig/rdkafka++.pc: Libs: '-L${libdir} -lrdkafka++' --> '-lrdkafka++' /usr/lib64/pkgconfig/rdkafka++-static.pc: Cflags: '-I${includedir}' --> '' /usr/lib64/pkgconfig/rdkafka++-static.pc: Libs: '-L${libdir} ${pc_sysrootdir}${libdir}/librdkafka++.a -lm -ldl -lpthread -lrt -lpthread -lrt' --> '${pc_sysrootdir}${libdir}/librdkafka++.a -lm -ldl -lpthread -lrt -lpthread -lrt' Checking contents of files in /usr/src/tmp/librdkafka-buildroot/ (default) Compressing files in /usr/src/tmp/librdkafka-buildroot (auto) Adjusting library links in /usr/src/tmp/librdkafka-buildroot ./usr/lib64: (from :0) librdkafka.so.1 -> librdkafka.so.1 librdkafka++.so.1 -> librdkafka++.so.1 Verifying ELF objects in /usr/src/tmp/librdkafka-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.94200 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd librdkafka-2.3.0 + make -j16 check make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make -C examples make[1]: Nothing to be done for 'all'. make: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' Updating CONFIGURATION.md make: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' make: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' Checking integrity CONFIGURATION.md OK examples/rdkafka_example OK examples/rdkafka_performance OK examples/rdkafka_example_cpp OK make: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/usr/src/RPM/BUILD/librdkafka-2.3.0/src-cpp' + exit 0 Processing files: librdkafka-2.3.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7559 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd librdkafka-2.3.0 + DOCDIR=/usr/src/tmp/librdkafka-buildroot/usr/share/doc/librdkafka-2.3.0 + export DOCDIR + rm -rf /usr/src/tmp/librdkafka-buildroot/usr/share/doc/librdkafka-2.3.0 + /bin/mkdir -p /usr/src/tmp/librdkafka-buildroot/usr/share/doc/librdkafka-2.3.0 + cp -prL LICENSE README.md /usr/src/tmp/librdkafka-buildroot/usr/share/doc/librdkafka-2.3.0 + chmod -R go-w /usr/src/tmp/librdkafka-buildroot/usr/share/doc/librdkafka-2.3.0 + chmod -R a+rX /usr/src/tmp/librdkafka-buildroot/usr/share/doc/librdkafka-2.3.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hg7A2o find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/librdkafka-buildroot/usr/lib64/librdkafka++.so.1: 232 symbols, 18 bpp lib.prov: /usr/src/tmp/librdkafka-buildroot/usr/lib64/librdkafka.so.1: 1422 symbols, 21 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9hknJW find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: librdkafka++.so.1()(64bit) = set:ldlRsj0uK5iH1kmJdjebLaR4FbhztNw5sHMxLLIh9efLijV93GEibMjeH5s6JOAdxitBQSNO8fdbYfZrjyodF9JOH5MkEtlulakuJfPrusCIxB8NZclCOZ4OuNu0QhL0TiP1ZiZ7tnP4VouZbQmhoGOZqVPHtZ5NkUoNZavUAEfmFHJeXavwkq5F3vxwWTYwTPb0BsiK7uZoiPaS2OHyu6wiWsfBqKxTBjmicquCAcOBfpRwj0a0HM3YPC90z6ex9Dng0S6msEPBZeBnkqBF4DhmUrL2P2vKRP8my4G4NRiCOuUvd35g789IUkPXVQQOW6uV2sCSviNUlA8OKR6s6Gl1LXSv3Z9pP5LSwsYdoAGFNxouZ0tN6rRcjm3ZowujwfUabxWqTX0vcFTZsnNZahCn2pxgjzN139nQirXuAgY4lx1wAZn2tQZiy5BQhTp9DXRAHXGpZ1I, librdkafka.so.1()(64bit) = set:odMDVYZkayGnpUpUF6ZlZHzNJCxxJSanvnMlOKnH1Zk81w09XgZdRjpKx0yvfUYnewqbautND0rBGhsHQz3uUGJZ3hZ7DoGrFxplm6EQVU7ILnuimJrW0p9FFZIJexAkUXHr5aTsrKqXxQqGMMCJwzMcUatS4MHfz1nrsgo4wCzAj4FNpQG9ZahuiEmO1Xw8wFoYeAgCfK3CZzQpmB5a7Z39mWZAkelV7zkYaemCYC1iLWATJVHp1vEHupOIXUkoajAjIF3EtABtv5yoteiLhwcDnHNxrp0PCfvGsYxJFiQ0acBPjj4IAq2PVMLC0F6RZ2ZgkvUiAvcj4WCEtx4piglaQJQLBu65BblJrndpip8FgNVcxf4WaJxFkEhoo6VB59OKlfaj5g6CCebo3MKZJC9Mzu6Ho2htmdjqwnzy012L4UddVaMFhAmshPkZK6XP8j585qCkSZvG6qGYKeKCNvoqDyAOULRDFZ4arX84PbRhSAtuMKkKdgA1wLWtwxNcEJ0mxXFQiJTlOLLRVppx6H11bja6YvEQ6TZzIucZyKCd4DGXE1rFV4B4K8S6on9Z44g1Nu1JryGFChdm3sJEhXYHXOBG7b9dZrs18ajq0e6h6f8KYIhZu8iPLxpM0CqTg6afNj46hKyiePt2AvinIkWric9NqFglhxW7oy2ybU91AKUWCcPJCDQhwiqiEdTIv71FhMEUOUwkXOzvC0HSdy4Jvd1229M24f9rwAQn0qbzaK6cZvSZjfVuZtf1ZvzQK6BI1rGZn11i0BMkSNEhfXJujEdP6gcA7LIi5vVfny6h7OpUsOj3S5K05ShrpPIo7Cc4CmbZpK0Hq80XenGLEPbziUyXClUHHEfglCqwMwJSpZkg6qfzCLfPrOP2cZaoR4FgXJFKi7hcB86fcs1Y6tCgvmZbal9t3pDSSrhPGaaXdF7GlmhulvrfZ0UD8MlpgNZxwVkcepxt2aHJk1i6uRXbVuMhcLjZ5QNvAWmG8ZhFK9oKp8O3EUGnuyRPiolUty9DdyYkndaUMzUFqgyjazyPg2VQiLfOqSMy8DQIk5zfYEVD37Un0kcYLpluK0bZg5IdGpfZ5m59M52IlwYZDNX5m3GzXAOsZm0ZA0B17aZb1d85HDXDpCaVQWmCZsSJOeuqsjax6DXwWEacHGDb6UYUuhq6SZnPqhQJA6Ck9f9pj94a3rtsydjnIxOL90Ui1kmZx8SQAH82wrZKRUxXfaM9iNsEqbvMOivOM7zne1jZgsz5DrmLZJqJqbA0f4Zj0jGMPUccN555NwRYMT8XhIMca3uzEPBICRI496SywD2HuJOEQ9MjgQlzdX4UXbjwkxPvLhacZgVPAdatx1p7Ewla3xa3C2ZowAg38mu4Zn5Z5dUfKcxGIZ8tpVMRQhfdJoAE1yVZJp2ECTu6tJGM2PsS9i7JbabbRKZf0f2UNpozsU2wI8ea6vu9ZByZLlEf4dwHbq4c9EYAbVJcC1qreyQuEBEwCJIefnVd8HrdpaMcOnWDElJGXqjwg4YFi6BCaZ4qLy2ZitDIjZ9Oi2FwOZCD74g9Yj3ErtS4kpuomAdAY71xTnovcWNgNfOt04e9DJmXzsu0VRkDfCZzNBGZsRkW2BWCdg9lQ2nxT51fzzbHFL4EB0LlxD4ro1ZGHMfmQCaWpKU9C3y46WbZ9fphJiy5Vlovty1QRjzQ5VFddYyFoF4rBPoDZe3CvwK0bLOPYFxQMqAZ9Bw5FZjnU2igS1SsCDDASDZjyZ3GhH9Edo0wdmc6ef4yk5ML5ZI4rPZ9vKvqa1x0j4fDJ1EVdKhI94JfZ5dPMW4AQtyWktx41AI7QJEma7MAcZdEB4TWcfHoMXPWQuizQtkBWcZ323wPlZzizhPessi7PnNOCiTgaLoImMyie8xfnGUzaZ6oM2AHKZLWerJjws3Def4N5yWpwwFgzenj6rkn0SfDbCdzXBYnXZyKesIIx3Sj08mIGwcilmUGOMzZwZ1gMVi8jJEf9gZJfhlDeQZeQYnR2yZIAwpIhaxlCRuAUkBAUrsTO54O9rAdYCq3gxIdc1tE8JZlHD6QyQsxzOpDlxsqzup1Axl9NEjZL5pk4XPDmrqapmY82IHkY0I4968C964XmpGxXD4kZxbwdvNEj8RusERDM3p7GhE0BVFVfo3OcsZ6WqSb4yTcWqi40X9UDZKsWJXxvSjjNsdOeq21q4ZxBR2jUGTa0AnoE8Q7Ey0vzWZ4kl09P888rC4cKZocKZ9FcBljdB3ELSjKzwUiq59dL9JU79AFtOaWZzkoYNSiQgpIVG8NfKTwsITRgZqXTY9CBVbLbFgCSQlrD8OeFhM8zdwxF8I322sAu0ZhDAPhsp3UCx8yyqhGTZEZ97mkcX3XGzQ7fyZ1KvyCCnFVqIuV8vgbBkjPuX8VYEZujGHq4ihIikp3DPvtFwCWZpA53VY7DnAbe3rLjty3KZAbwBEezCxdK1acSua2LC6BZorf6pC7zJnzkd8hHSyymoc6NhQqxvyvgmiE5Np6mahrapb7JjgTYula742LI9kQKnzw4xB6IB2TTxVcTQkWnU6pd2d3ZyQ28FyvoFZcSrM39FmsbVi1Ex1tTpb1cZaUbpKTqInRvycd4YIB5rAlR8nP3qXVLBxU5VeRkxEWEnfm2k7RDjMn3C3l9f6lKb2rNN23ylTofquM2euQxZ36I4JaaugZrrbPEwXZy92xZ9FKY4gQ7Dk72OzZnwfyzpIohjWbTBaayPkk9hWOfKOLvZt0dXhinZxc23gQmUwNu20qsdwCMpuOOQ1Wx0JI6vMqkNl2HEb2BR1Zp0VushcxqXGL5yUTZ8s3Sx3DeWJUcnyghr7RBsnaXX6XeZg7V361bzBufAEaWmGjJF9 Requires: ld-linux-x86-64.so.2()(64bit) >= set:jiids, ld-linux-x86-64.so.2(GLIBC_2.3)(64bit), libc.so.6()(64bit) >= set:poiedc, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.16)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.32)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.3()(64bit) >= set:qjTFZEV1I2x12Yw5T5ZnBcKfGZmg4z3Z6CSxqYLZEJyZhQZtZBL0et09xdRUy1ZwEprflWswrJJShZG2YkEK7hftBxnSixvAC59JYjGktoOcBKk8hmy9xam9Qg9a50HwPepCUtUlh7G4G3TtNzTfrQ2vxLSeq4toBNEZtp0PDBGKvgz006JppAEklPP8e4yeX4HkLnsgKJ4, libcrypto.so.3(OPENSSL_3.0.0)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), liblz4.so.1()(64bit) >= set:kgrz2vFJck5S4QQDZ5G9JDMZnA6iGhmb0, libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.29)(64bit), libsasl2.so.3()(64bit) >= set:lhKAh7QLm9gFdvpVG07bdmvMaC1, libssl.so.3()(64bit) >= set:niBOOdZ1lLZ0RZviRsLYhW9z7swkX7XcvBl8bCDbOi5Gi24pC0vVxJkiKwZhdIObJRBksZyduLnn4xNP2THvjNZfd0, libssl.so.3(OPENSSL_3.0.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.32)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9LJznG Creating librdkafka-debuginfo package Processing files: librdkafka-devel-2.3.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uPEbz8 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9X7qAt find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/librdkafka-buildroot/usr/include/librdkafka/rdkafkacpp.h:51:10: fatal error: string: No such file or directory 51 | #include | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/librdkafka-buildroot/usr/include/librdkafka/rdkafkacpp.h: cpp failed, trying c++ mode /usr/src/tmp/librdkafka-buildroot/usr/include/librdkafka/rdkafka_mock.h:33:2: error: #error "rdkafka_mock.h must be included after rdkafka.h" 33 | #error "rdkafka_mock.h must be included after rdkafka.h" | ^~~~~ cpp.req: WARNING: /usr/src/tmp/librdkafka-buildroot/usr/include/librdkafka/rdkafka_mock.h: cpp failed Provides: pkgconfig(rdkafka) = 2.3.0, pkgconfig(rdkafka++) = 2.3.0, pkgconfig(rdkafka++-static) = 2.3.0, pkgconfig(rdkafka-static) = 2.3.0 Requires: librdkafka = 2.3.0-alt1, /usr/lib64/librdkafka++.so.1, /usr/lib64/librdkafka.so.1, /usr/lib64/pkgconfig, pkgconfig(libcrypto), pkgconfig(liblz4), pkgconfig(libsasl2), pkgconfig(libssl) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.X5ekxj Processing files: librdkafka-debuginfo-2.3.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y8m0tq find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i1WeP3 find-requires: running scripts (debuginfo) Provides: debug64(librdkafka++.so.1), debug64(librdkafka.so.1) Requires: librdkafka = 2.3.0-alt1, debug64(ld-linux-x86-64.so.2), debug64(libc.so.6), debug64(libcrypto.so.3), debug64(libgcc_s.so.1), debug64(liblz4.so.1), debug64(libm.so.6), debug64(libsasl2.so.3), debug64(libssl.so.3), debug64(libstdc++.so.6) Adding to librdkafka-devel a strict dependency on librdkafka Adding to librdkafka-debuginfo a strict dependency on librdkafka Removing 2 extra deps from librdkafka-devel due to dependency on librdkafka Wrote: /usr/src/RPM/RPMS/x86_64/librdkafka-2.3.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/librdkafka-devel-2.3.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/librdkafka-debuginfo-2.3.0-alt1.x86_64.rpm (w2T16.xzdio) 856.37user 45.74system 1:40.36elapsed 898%CPU (0avgtext+0avgdata 122480maxresident)k 0inputs+0outputs (0major+12895182minor)pagefaults 0swaps 2.88user 1.21system 1:48.53elapsed 3%CPU (0avgtext+0avgdata 127792maxresident)k 0inputs+0outputs (0major+216761minor)pagefaults 0swaps