diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-28 22:38:57 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-28 22:38:57 +0100 |
commit | 714f44f6412ecf4cfd62abd9133210f0bf937e75 (patch) | |
tree | 0ff4a9d34c730a326ab9a473afe0f91c67c08193 /src/cssparser.cc | |
parent | 8ec2a45a3c8baf45fa75857d3587b21bcf5de78f (diff) |
make sure strings from CSS parser are freed
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index d000c45f..03fc102c 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -1110,9 +1110,9 @@ static void Css_parse_ruleset(CssParser * parser) DEBUG_MSG(DEBUG_PARSE_LEVEL, "end of %s\n", "selectors"); - props = new CssPropertyList(); + props = new CssPropertyList(true); props->ref(); - importantProps = new CssPropertyList(); + importantProps = new CssPropertyList(true); importantProps->ref(); /* Read block. ('{' has already been read.) */ |