Commit Diff
--- lib/diff3.c +++ lib/diff3.c @@ -267,6 +267,8 @@ got_merge_diff3(int outfd, const char *p1, const char struct wklhead temp_files; struct diff3_state *d3s; int i; + + SLIST_INIT(&temp_files); d3s = calloc(1, sizeof(*d3s)); if (d3s == NULL)