| |
@@ -82,6 +82,12 @@
|
| |
AC_MSG_ERROR([Could not find VERTO headers])
|
| |
fi
|
| |
|
| |
+ AC_CHECK_LIB(verto, verto_free,,
|
| |
+ AC_MSG_ERROR(["Error: libverto is not found or lacks verto_free"]))
|
| |
+
|
| |
+ AC_CHECK_FUNCS(verto_cleanup,,
|
| |
+ AC_MSG_WARN(["Warning: libverto lacks verto_cleanup function"]))
|
| |
+
|
| |
#Check for libini_config
|
| |
PKG_CHECK_MODULES([LIBINI_CONFIG], [ini_config >= 1.2.0], [have_libini_config=1], [have_libini_config=])
|
| |
if test x$have_libini_config = x; then
|
| |
I believe there are still memory leaks in libverto (related to default contexts which call malloc)
but this fixes the remaining memory leaks in gssproxy given that libverto is fixed by
verto_cleanup()
.This is dependent upon a later verto-related pull request that provides verto_cleanup().
Could I get some help writing verto_cleanup() detection code? :)