diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-12 16:23:30 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-12 16:32:12 +0200 |
commit | 7691c7abcb99daf623930774388b917385ea7324 (patch) | |
tree | c4d7d9d120995cdcb935411ab69379fe93179fae | |
parent | c66689ea766de69bf36291cf43094b357c8d9fea (diff) | |
download | serenity-7691c7abcb99daf623930774388b917385ea7324.zip |
LibWeb: Explicitly zero-initialize WindowObject::m_location_object
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/WindowObject.h | 2 |
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; |