commit | 8ed63ab1f1283b2c63355fb7c1e80abead4b9399 | [log] [tgz] |
---|---|---|
author | shemminger <shemminger> | Wed Sep 21 19:33:17 2005 +0000 |
committer | shemminger <shemminger> | Wed Sep 21 19:33:17 2005 +0000 |
tree | 348b8d476bdf08559d72662a138296669c6ebc9f | |
parent | fc57a9df1bee719c86a4f0bc82bafae05bb92fc2 [diff] [blame] |
Fix leaks and warnings reported by valgrind.
diff --git a/ip/ip.c b/ip/ip.c index b6ff2df..f57651e 100644 --- a/ip/ip.c +++ b/ip/ip.c
@@ -122,6 +122,8 @@ break; } } + if (line) + free(line); rtnl_close(&rth); return ret;