chiark
/
gitweb
/
~mdw
/
checkpath
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee87210
)
checkpath.c: Fix leak of path-element stack.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 16 Jul 2024 17:34:12 +0000
(18:34 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 16 Jul 2024 17:42:07 +0000
(18:42 +0100)
checkpath.c
patch
|
blob
|
blame
|
history
diff --git
a/checkpath.c
b/checkpath.c
index e5942018a8194bef60d45f800aa504b482dd9f6f..5c047a595ebea34a561cd2359ce8dc4baf87502b 100644
(file)
--- 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;
}
}