[master] fix memory leak from dnstap-output parsing

This commit is contained in:
Evan Hunt
2017-02-06 22:13:51 -08:00
parent 63f8c891d8
commit d8339932af
4 changed files with 93 additions and 15 deletions

View File

@@ -346,7 +346,7 @@ status=`expr $status + $ret`
HAS_PYYAML=0
if [ -n "$PYTHON" ] ; then
$PYTHON -c "import yaml" && HAS_PYYAML=1
$PYTHON -c "import yaml" 2> /dev/null && HAS_PYYAML=1
fi
if [ $HAS_PYYAML -ne 0 ] ; then