commit | b77c77d294959bc8c8ef948fc7849d1794347f8e | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Tue Feb 14 07:29:38 2017 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Sat Feb 18 16:29:56 2017 -0800 |
tree | 9db09450d07a93282dadddab0b9643aead5c3a93 | |
parent | 5e4dc1951ee2420ed40aee21920c1c37b537d4e3 [diff] |
devlink: Call dl_free in early exit case Prior to parsing command options, the devlink tool allocates memory to store results. In case of early exit (wrong parameters or version check), this memory wasn't freed. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com>