mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibWeb: Remove bizarre HashMap leak in StyleProperties copy ctor
This commit is contained in:
parent
7d28d9b2af
commit
0de368e36c
Notes:
sideshowbarker
2024-07-19 07:48:04 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0de368e36ce
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ StyleProperties::StyleProperties()
|
|||
}
|
||||
|
||||
StyleProperties::StyleProperties(const StyleProperties& other)
|
||||
: m_property_values(*new HashMap(other.m_property_values))
|
||||
: m_property_values(other.m_property_values)
|
||||
{
|
||||
if (other.m_font) {
|
||||
m_font = other.m_font->clone();
|
||||
|
|
Loading…
Add table
Reference in a new issue