]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: adds missing strv_free()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Nov 2018 03:30:00 +0000 (12:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 8 Nov 2018 03:30:03 +0000 (12:30 +0900)
Fixes oss-fuzz#11285.

src/network/networkd-network.c

index fb4c519dbe811b159a387dfb2e503aa2605cb715..4eb553125b3a7c0395b3803be3071e5d68782e44 100644 (file)
@@ -369,6 +369,7 @@ void network_free(Network *network) {
         strv_free(network->search_domains);
         strv_free(network->route_domains);
         strv_free(network->bind_carrier);
+        strv_free(network->router_search_domains);
 
         netdev_unref(network->bridge);
         netdev_unref(network->bond);