Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
htparser: Be more tolerant to broken clients.
[ashd.git]
/
src
/
psendfile.c
diff --git
a/src/psendfile.c
b/src/psendfile.c
index
52ec9dc
..
08cd1d2
100644
(file)
--- a/
src/psendfile.c
+++ b/
src/psendfile.c
@@
-268,7
+268,8
@@
static void serve(struct muth *muth, va_list args)
out:
if(sfile != NULL)
fclose(sfile);
- free(contype);
+ if(contype != NULL)
+ free(contype);
fclose(out);
freehthead(req);
}