Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion src/msolve/duplicate.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ static inline void duplicate_tracer(
memcpy(btrace[i]->lm, btrace[0]->lm,
(unsigned long)btrace[0]->lml * sizeof(sdm_t));

/* array of trace data per F4 round */
/* array of trace data per F4 round
* (replaces the one allocated by initialize_trace) */
free(btrace[i]->td);
btrace[i]->td = calloc((unsigned long)btrace[0]->ltd, sizeof(td_t));

for(len_t l = 0; l < btrace[0]->ltd; ++l){
Expand Down
Loading
Loading