diff options
Diffstat (limited to 'src/core/text.c')
-rw-r--r-- | src/core/text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/text.c b/src/core/text.c index e84972a..0bf6322 100644 --- a/src/core/text.c +++ b/src/core/text.c @@ -470,6 +470,8 @@ dom_exception walk_logic_adjacent_text(dom_text *text, return DOM_NOT_SUPPORTED_ERR; } + *ret = NULL; + /* Firstly, we look our left */ err = walk_logic_adjacent_text_in_order(left, opt, LEFT, ret, &cont); if (err != DOM_NO_ERR) { |