configure: Enable poisoning by default for non-release builds

This commit is contained in:
Sebastian Dröge 2018-08-03 13:18:12 +03:00
parent 942fc7f79e
commit 7ef5b28e40

View file

@ -247,7 +247,7 @@ AC_ARG_ENABLE(poisoning,
*) AC_MSG_ERROR(bad value ${enableval} for --enable-poisoning) ;;
esac
],
[USE_POISONING=no]) dnl Default value
[USE_POISONING=$GST_GIT]) dnl Default value
if test "x$USE_POISONING" = xyes; then
AC_DEFINE(USE_POISONING, 1,
[Define if we should poison deallocated memory])