--- components/wifi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/wifi.c b/components/wifi.c index 13b630a..af175fd 100644 --- a/components/wifi.c +++ b/components/wifi.c _AT_@ -31,6 +31,7 @@ return NULL; } if(!(p = fgets(status, 5, fp)) || strcmp(status, "up\n") != 0) { + fclose(fp); return NULL; } fclose(fp); -- 2.17.0Received on Wed May 02 2018 - 19:24:56 CEST
This archive was generated by hypermail 2.3.0 : Wed May 02 2018 - 19:36:33 CEST