summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-12 16:23:30 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-12 16:32:12 +0200
commit7691c7abcb99daf623930774388b917385ea7324 (patch)
treec4d7d9d120995cdcb935411ab69379fe93179fae /Userland/Libraries
parentc66689ea766de69bf36291cf43094b357c8d9fea (diff)
downloadserenity-7691c7abcb99daf623930774388b917385ea7324.zip
LibWeb: Explicitly zero-initialize WindowObject::m_location_object
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowObject.h2
1 files changed, 1 insertions, 1 deletions
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<DOM::Window> m_impl;
- LocationObject* m_location_object;
+ LocationObject* m_location_object { nullptr };
HashMap<String, JS::Object*> m_prototypes;
HashMap<String, JS::NativeFunction*> m_constructors;