by teo_zero · 2y ago · 0 comments
void foo() {
char *p = malloc(...);
defer free(p);
...
{
FILE *p = fopen(...);
defer fclose(p);
...
}
return;
}
Would it run both deferred statements, each with the correct argument?