From: Remi Gacogne Date: Mon, 28 May 2018 16:10:05 +0000 (+0200) Subject: rec: Fix a typo in one comment of the negative cache unit tests X-Git-Tag: dnsdist-1.3.1~62^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c07b5d06a1801439082be5361a5c85d7b9df1d0f;p=pdns rec: Fix a typo in one comment of the negative cache unit tests --- diff --git a/pdns/recursordist/test-negcache_cc.cc b/pdns/recursordist/test-negcache_cc.cc index 243179465..f5ddec76b 100644 --- a/pdns/recursordist/test-negcache_cc.cc +++ b/pdns/recursordist/test-negcache_cc.cc @@ -385,7 +385,7 @@ BOOST_AUTO_TEST_CASE(test_dumpToFile) { } if (line != nullptr) { - /* getline() allocates a buffer then called with a nullptr, + /* getline() allocates a buffer when called with a nullptr, then reallocates it when needed, but we need to free the last allocation if any. */ free(line);