From: Lou Berger Date: Fri, 27 Jan 2017 14:16:43 +0000 (-0500) Subject: tests: use lib memory allocation X-Git-Tag: frr-3.0-branchpoint~64^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=56c8423f58945e0c6b5d3fd71a07fd7ae40d4a3f;p=matthieu%2Ffrr.git tests: use lib memory allocation Signed-off-by: Lou Berger --- diff --git a/tests/common-cli.c b/tests/common-cli.c index 9cc1626fe8..dc1f052bc2 100644 --- a/tests/common-cli.c +++ b/tests/common-cli.c @@ -72,7 +72,7 @@ main (int argc, char **argv) /* Library inits. */ cmd_init (1); - host.name = strdup ("test"); + host.name = XSTRDUP(MTYPE_HOST,"test"); vty_init (master); memory_init ();