Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
578ad6b
)
dirplex: Plugged a memory leak.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 3 Jan 2011 07:39:17 +0000
(08:39 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 3 Jan 2011 07:39:17 +0000
(08:39 +0100)
src/dirplex/dirplex.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dirplex/dirplex.c
b/src/dirplex/dirplex.c
index
d5aabea
..
358d0b1
100644
(file)
--- a/
src/dirplex/dirplex.c
+++ b/
src/dirplex/dirplex.c
@@
-280,7
+280,8
@@
static int checkpath(struct hthead *req, int fd, char *path, char *rest)
if(!*el) {
replrest(req, rest);
handledir(req, fd, path);
- return(1);
+ rv = 1;
+ goto out;
}
rv = checkentry(req, fd, path, rest, el);