aboutsummaryrefslogtreecommitdiff
path: root/src/list.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.zig')
-rw-r--r--src/list.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/list.zig b/src/list.zig
index 0facef9..fe3a246 100644
--- a/src/list.zig
+++ b/src/list.zig
@@ -12,14 +12,12 @@ pub const Error = paragraph.Error || Allocator.Error;
pub fn parseOrdored(alloc: Allocator, l: *Lexer) Error!Element {
const el = try Element.list.Ordored.init(alloc);
- errdefer el.deinit(alloc);
try parse(alloc, &el.content, l, .list_ordored);
return el.element();
}
pub fn parseUnordored(alloc: Allocator, l: *Lexer) Error!Element {
const el = try Element.list.Unordored.init(alloc);
- errdefer el.deinit(alloc);
try parse(alloc, &el.content, l, .list_unordored);
return el.element();
}