diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 17:22:13 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2020-02-03 17:22:13 +0100 |
commit | b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d (patch) | |
tree | 326b49289dd6b1e83c4ff98899983dd4972afff8 /tests | |
parent | Merge pull request #5669 from donaldsharp/nhg_ip (diff) | |
download | frr-b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d.tar.xz frr-b3ba5dc7fe769f3719b2812e4fdb9f8f8271032d.zip |
*: don't null after XFREE; XFREE does this itself
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/test_heavy_wq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/lib/test_heavy_wq.c b/tests/lib/test_heavy_wq.c index 442b8c838..cffd52ee0 100644 --- a/tests/lib/test_heavy_wq.c +++ b/tests/lib/test_heavy_wq.c @@ -81,7 +81,6 @@ static void slow_func_del(struct work_queue *wq, void *data) assert(hn && hn->str); printf("%s: %s\n", __func__, hn->str); XFREE(MTYPE_WQ_NODE_STR, hn->str); - hn->str = NULL; XFREE(MTYPE_WQ_NODE, hn); } |