From a4abbbc1f96d6cbaeb4ac85fb9ada45c7300a18a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 19 Nov 2019 15:38:19 -0600 Subject: Qt UI: Fix last memory leak --- ui/qt5/netsimplewifipage.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'ui') diff --git a/ui/qt5/netsimplewifipage.cc b/ui/qt5/netsimplewifipage.cc index a1e6139..94c8ee5 100644 --- a/ui/qt5/netsimplewifipage.cc +++ b/ui/qt5/netsimplewifipage.cc @@ -288,6 +288,7 @@ int NetworkSimpleWirelessPage::processScan(wpactrl_t *c, const char *, size_t) { stralloc_free(&netstr); genalloc_free(wpactrl_scanres_t, &nets); + stralloc_free(&buf); return 1; } -- cgit v1.2.3-60-g2f50