commit ddfe9f75756640b266be9e1bf80ce9581a405b6d
parent e48154791b3387b70536b62166fe8841df1b918f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 25 Jun 2017 21:36:25 +0200
handledcgi: fclose allocated fdopen() FILE *
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/handlr.c b/handlr.c
@@ -255,6 +255,7 @@ handledcgi(int sock, char *file, char *port, char *base, char *args,
free(ln);
free(path);
wait(NULL);
+ fclose(fp);
break;
}
}