aboutsummaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.cc b/src/css.cc
index 4dd1127e..7aa339cf 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -91,7 +91,7 @@ void CssPropertyList::apply (CssPropertyList *props) {
if (props->ownerOfStrings &&
(getRef (i)->type == CSS_TYPE_STRING ||
getRef (i)->type == CSS_TYPE_SYMBOL))
- value.strVal = strdup(value.strVal);
+ value.strVal = dStrdup(value.strVal);
props->set ((CssPropertyName) getRef (i)->name,
(CssValueType) getRef (i)->type,