summaryrefslogtreecommitdiff
path: root/src/stdio-bridge
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-17 09:26:10 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-17 09:28:17 -0500
commitfd45e522dd8b6cbfdff32eee1f272a97080387ea (patch)
treee0836df77dca05f9bb2541cef7536553b5936ec4 /src/stdio-bridge
parentf4859fc74c06bf5040e96ef68ddf7102f43cc7db (diff)
networkd: immediately transfer ownership of route->section
The code was not incorrect previously, but I think it's easier to follow the ownership (and the code is more likely to remain correct when updated later on), if freeing of NetworkConfigSection* is immediately made the responsibility of route_free(), so instead of relying on route_free() not freeing ->section if adding to the network hashmap failed, make this freeing unconditional.
Diffstat (limited to 'src/stdio-bridge')
0 files changed, 0 insertions, 0 deletions