Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libtrap/src/trap_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static inline int
t_cont_init(struct trap_container_s* t_cont)
{
t_cont_clear(t_cont);
t_cont->buffer = malloc(container_buff_len * sizeof t_cont->buffer);
t_cont->buffer = malloc(container_buff_len);
return t_cont->buffer ? 0 : 1;
}

Expand Down
Loading