]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-route.c
networkd: Do not set config to NULL immediately.
authorSusant Sahani <susant@redhat.com>
Wed, 22 Feb 2017 05:25:03 +0000 (10:55 +0530)
committerSusant Sahani <susant@redhat.com>
Wed, 22 Feb 2017 05:25:03 +0000 (10:55 +0530)
commitfcc48287eb6166b87a80da87d383d013f6dec7e1
tree3cb51889e988454a90807af6bcbf25ccbf857072
parentb965427b59a6912a46e1cdb26b732d3ea396b332
networkd: Do not set config to NULL immediately.

fd45e52 sets
n to NULL which leads to crash.

fixes: #5418
src/network/networkd-address.c
src/network/networkd-route.c