X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=lib%2Fresp.c;h=2c0fa835daaf8a969f88cd36d509952a47d9f842;hp=7de5c90c76150cb3238731a652e9f46a3cc2619c;hb=51a4b1ad5f25ea29b94384e21c48152cce252b8b;hpb=240d9bcdcd247c14555d204e471b4fee095dd47a diff --git a/lib/resp.c b/lib/resp.c index 7de5c90..2c0fa83 100644 --- a/lib/resp.c +++ b/lib/resp.c @@ -116,6 +116,7 @@ void simpleerror(int fd, int code, char *msg, char *fmt, ...) fwrite(buf.b, 1, buf.d, out); fclose(out); buffree(buf); + free(tmp); } void stdredir(struct hthead *req, int fd, int code, char *dst)