Skip to content
Snippets Groups Projects
Commit f71f1389 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

forgot fclose
parent f9e7e7f9
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ int main(void)
fp = fopen("/tmp/gmsh.pid", "r");
fscanf(fp, "%d", &pid);
fclose(fp);
sprintf(str, "kill %d", pid);
system(str);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment