diff options
author | Susant Sahani <ssahani@vmware.com> | 2021-01-17 11:14:15 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-17 23:26:14 +0900 |
commit | 5a3e1cb918eaf8b55f9671a775359f7b1644a447 (patch) | |
tree | cae45801fbef225b24ce2afdebcbb1b967b59798 /src/network/tc/sfb.c | |
parent | 25351bc557f3923b523176126fb189563258b63a (diff) | |
download | systemd-5a3e1cb918eaf8b55f9671a775359f7b1644a447.tar.gz |
network: tc use TAKE_PTR
Diffstat (limited to 'src/network/tc/sfb.c')
-rw-r--r-- | src/network/tc/sfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/tc/sfb.c b/src/network/tc/sfb.c index 674fdf6ac7..a4ca4884b1 100644 --- a/src/network/tc/sfb.c +++ b/src/network/tc/sfb.c @@ -84,7 +84,7 @@ int config_parse_stochastic_fair_blue_u32( if (isempty(rvalue)) { sfb->packet_limit = 0; - qdisc = NULL; + TAKE_PTR(qdisc); return 0; } @@ -96,7 +96,7 @@ int config_parse_stochastic_fair_blue_u32( return 0; } - qdisc = NULL; + TAKE_PTR(qdisc); return 0; } |