diff --git a/gmid.c b/gmid.c index 93e1895..224eb42 100644 --- a/gmid.c +++ b/gmid.c @@ -328,6 +328,12 @@ free_config(void) free(fcgi[i].path); free(fcgi[i].port); free(fcgi[i].prog); + + fcgi[i].path = NULL; + fcgi[i].port = NULL; + fcgi[i].prog = NULL; + + fcgi[i].s = FCGI_OFF; } tls_free(ctx);