aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table.c')
-rw-r--r--widgets/e-table/e-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c
index 7d1d9afd14..364ef3fb9c 100644
--- a/widgets/e-table/e-table.c
+++ b/widgets/e-table/e-table.c
@@ -704,7 +704,7 @@ e_table_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
char *copy;
copy = g_strdup(spec);
- xmlSpec = xmlParseMemory(copy, strlen(copy));
+ xmlSpec = xmlParseMemory(copy, strlen(copy) + 1);
et_real_construct(e_table, full_header, etm, xmlSpec);
g_free(copy);
}