]> git.proxmox.com Git - mirror_frr.git/commit - lib/memory.c
lib: treat realloc of null pointer as alloc Now use zalloc rather than alloc with...
authorLou Berger <lberger@labn.net>
Tue, 12 Jan 2016 18:41:47 +0000 (13:41 -0500)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:33 +0000 (15:33 +0000)
commit1567811710eb000d41ade0b465fdf43c070aabc0
tree389e1993856cd5b3cffb28308870d01c2daeb80a
parentc54632ec18a01e48b9a8d688231088faa534c29c
lib: treat realloc of null pointer as alloc Now use zalloc rather than alloc with null. Fixes issue seen in bgp check tests.

Signed-off-by: Lou Berger <lberger@labn.net>
(cherry picked from commit 9248b61f54955e56212f3ae4c8a7ab704f7ad01c)
lib/memory.c