changeset 689:47db5485c8ca

initialize refCount in CssRule
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 17 Dec 2008 17:12:09 +0100
parents 2fe5c35b22e0
children 7ad1a704a44f
files src/css.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Wed Dec 17 17:11:33 2008 +0100
+++ b/src/css.cc	Wed Dec 17 17:12:09 2008 +0100
@@ -158,6 +158,7 @@
 }
 
 CssRule::CssRule (CssSelector *selector, CssPropertyList *props) {
+   refCount = 0;
    this->selector = selector;
    this->selector->ref ();
    this->props = props;