diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2017-02-22 00:01:44 +0300 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-03-05 17:21:02 +0000 |
commit | 25d3556849fcbe4fe5d517e1add48e0b2d585c70 (patch) | |
tree | dbc1af84aa8d60265cae1bfc263ac030ace44233 /usr/src/lib/libdevinfo/devinfo.c | |
parent | 89ac1330de393e78c8b27c33453223b10d3c18da (diff) | |
download | illumos-joyent-25d3556849fcbe4fe5d517e1add48e0b2d585c70.tar.gz |
7933 libcfgadm: memory leak in do_list_common()
Reviewed by: Jan Kryl <jan.kryl@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/lib/libdevinfo/devinfo.c')
-rw-r--r-- | usr/src/lib/libdevinfo/devinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libdevinfo/devinfo.c b/usr/src/lib/libdevinfo/devinfo.c index 68e51960a2..678f891c90 100644 --- a/usr/src/lib/libdevinfo/devinfo.c +++ b/usr/src/lib/libdevinfo/devinfo.c @@ -1065,7 +1065,7 @@ di_driver_ops(di_node_t node) } /* - * returns the length of the path, caller must free memory + * Returns pointer to the allocated string, which must be freed by the caller. */ char * di_devfs_path(di_node_t node) |