diff --git a/testing/nTox.c b/testing/nTox.c index 63d0c32e..ecdba1e3 100644 --- a/testing/nTox.c +++ b/testing/nTox.c @@ -410,6 +410,8 @@ void load_key(char *path) } } + if(fclose(data_file) < 0) + perror("[!] fclose failed"); return; FILE_ERROR: