diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2017-01-06 18:17:10 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2017-01-06 16:45:48 -0500 |
commit | b130c20454b5d071292134d42cf34c9f5938c1d5 (patch) | |
tree | 9ecd4a4942c965ab4941c729b56aa271e25bb4f8 | |
parent | cc6b30399e68fb9666466c57ed822f297b2c6ae4 (diff) | |
download | illumos-joyent-b130c20454b5d071292134d42cf34c9f5938c1d5.tar.gz |
7738 libipadm`ipadm_enable_addr() leaks addrnvl
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>
-rw-r--r-- | usr/src/lib/libipadm/common/ipadm_addr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/lib/libipadm/common/ipadm_addr.c b/usr/src/lib/libipadm/common/ipadm_addr.c index 0668c1de5b..a62bcb165b 100644 --- a/usr/src/lib/libipadm/common/ipadm_addr.c +++ b/usr/src/lib/libipadm/common/ipadm_addr.c @@ -3578,6 +3578,7 @@ ipadm_enable_addr(ipadm_handle_t iph, const char *aobjname, uint32_t flags) break; } + nvlist_free(addrnvl); return (status); } |