From 7691c7abcb99daf623930774388b917385ea7324 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 12 Sep 2021 16:23:30 +0200 Subject: [PATCH] LibWeb: Explicitly zero-initialize WindowObject::m_location_object --- Userland/Libraries/LibWeb/Bindings/WindowObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.h b/Userland/Libraries/LibWeb/Bindings/WindowObject.h index a1074f8a5e..28a0a28980 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowObject.h +++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.h @@ -99,7 +99,7 @@ private: NonnullRefPtr m_impl; - LocationObject* m_location_object; + LocationObject* m_location_object { nullptr }; HashMap m_prototypes; HashMap m_constructors;