1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-27 01:57:35 +03:00

networkd: network - fix leak

This commit is contained in:
Tom Gundersen 2014-05-09 18:05:42 +02:00
parent 86e6e5d1b4
commit 31d0ac36c6

View File

@ -257,7 +257,8 @@ int config_parse_netdev(const char *unit,
void *data,
void *userdata) {
Network *network = userdata;
char *kind_string, *p;
_cleanup_free_ char *kind_string = NULL;
char *p;
NetDev *netdev;
NetDevKind kind;
int r;