diff options
author | Lukas Zaoral <lzaoral@redhat.com> | 2021-07-20 14:50:32 +0200 |
---|---|---|
committer | Lukas Zaoral <lzaoral@redhat.com> | 2021-07-21 13:32:44 +0200 |
commit | 3ce4682045b99644eb5991c41c9be6882bee0810 (patch) | |
tree | 07365a824d4682d819e145f050f50880a064ea34 | |
parent | e7dcdafb1edb4721f59562c259b102b2f81ae423 (diff) | |
download | usbutils-3ce4682045b99644eb5991c41c9be6882bee0810.tar.gz |
lsusb.c: fix leak in dump_printer_device
Allocation made by get_dev_string was not freed.
Signed-off-by: Lukas Zaoral <lzaoral@redhat.com>
-rw-r--r-- | lsusb.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2423,6 +2423,7 @@ static void dump_printer_device(libusb_device_handle *dev, else if ((caps & 0x60) == 0x60) printf(" Negotiable-Auth"); printf("\n"); + free(uuid); break; } default: |