aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-23 17:43:27 +0000
committerOmar Polo <op@omarpolo.com>2023-07-23 17:43:27 +0000
commit0995ecdb87195955d23d1dae0a4c93b45f199714 (patch)
treeba19f2c92fe007dc75b38765b12fccedb114a386 /parse.y
parentcf35bdce9a8ee0468b57993550536a74ffd789b0 (diff)
plug memleak
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index a06416d..5a72bf4 100644
--- a/parse.y
+++ b/parse.y
@@ -497,6 +497,7 @@ fastcgi : string {
fatal("asprintf");
loc->fcgi = fastcgi_conf($2, c);
free($2);
+ free(c);
}
| TCP string {
loc->fcgi = fastcgi_conf($2, "9000");