Commit 2c4a3756 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Fix leak when obtaining previous node of range point.

parent c0a6d2d4
......@@ -280,7 +280,7 @@ static BOOL rangepoint_prev_node(rangepoint_t *iter)
off = get_child_index(node, iter->node);
free_rangepoint(iter);
init_rangepoint(iter, node, off);
init_rangepoint_no_addref(iter, node, off);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment