summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/xml/xml.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index 017dcd2b..fff437c8 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -1111,7 +1111,11 @@ lasso_node_dispose(GObject *object)
g_assert_not_reached();
}
- *value = NULL;
+ if (type != SNIPPET_SIGNATURE) {
+ /* Signature snippet is not something to free,
+ * so don't set the value to NULL */
+ *value = NULL;
+ }
}
class = g_type_class_peek_parent(class);
}