X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/checkpath/blobdiff_plain/ee8721029532dd56ac5e6a110994dbac472abb45..6da5efa9bed47c5fe8170bf401d44801c26a51d0:/checkpath.c diff --git a/checkpath.c b/checkpath.c index e594201..5c047a5 100644 --- a/checkpath.c +++ b/checkpath.c @@ -139,7 +139,7 @@ static void pop(void) struct elt *e = sp->e_link; d.len = sp->e_offset; DPUTZ(&d); - sp = e; + free(sp); sp = e; } }