]> git.puffer.fish Git - mirror/frr.git/commit
zebra: stream_dup cannot fail 11414/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 15 Jun 2022 14:22:29 +0000 (10:22 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 15 Jun 2022 14:24:01 +0000 (10:24 -0400)
commitd9db1a4092300970f9112c67556c1f4e860dabe0
tree4f9e21d954a92108f5b7a2464ebd5f3df9554fb1
parentab08ef82307c04c055113515c1893bb741a2f517
zebra: stream_dup cannot fail

If stream_dup was unable to actually allocate memory
then FRR would crash instead.  So let's remove the
check for null since it is not needed.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_ptm.c