I was just wondering if there was a way to free all memory at once in a program instead of doing a ton of free() functions, such as the following;
free(somevariable);
Its not really a problem, but just seems sort of excessive to do that for every variable if a program contains many of them, if there was sort of a catch-all to free all memory at the end, or a way to supply more than one variable at a time to free(), such as the following again, I would find that immensely helpful, thanks!
free(var1,var2,var3)