aboutsummaryrefslogtreecommitdiff
path: root/vcal.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vcal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcal.c b/vcal.c
index 9aa08c7c..a17f1fcc 100644
--- a/vcal.c
+++ b/vcal.c
@@ -110,6 +110,7 @@ FREE_F(vcomponent) {
}
int PUSH(vcomponent)(vcomponent* parent, vcomponent* child) {
+ child->parent = parent;
return PUSH(VECT(vcomponent))(&parent->components, child);
}