From 9e73d0dac0774955348a5164087363c5b33927b8 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 18 Jan 2019 16:56:54 +0100 Subject: Add tools/report-clang-tidy.sh - Fix various clang-tidy warnings - Fix use-after-free crash when deleting profiles --- src/browser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/browser.h') diff --git a/src/browser.h b/src/browser.h index 32011e0..a005513 100644 --- a/src/browser.h +++ b/src/browser.h @@ -90,7 +90,7 @@ private: std::unique_ptr m_config; std::shared_ptr m_bookmarks; std::unique_ptr m_downloads; - WebProfileManager *m_profileManager; + WebProfileManager *m_profileManager = nullptr; QVector m_filters; QVector m_windows; -- cgit v1.2.1