summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index 939d63e53..a1b2afd3d 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1059,7 +1059,7 @@ SPIString::clear() {
SPIBase::clear();
g_free( value );
value = nullptr;
- if( value_default ) value = strdup( value_default );
+ if( value_default ) value = g_strdup( value_default );
}
void