gcc 4.4.4 c89 valgrind 3.5.0.
I am getting a leak detected when I open file using a file pointer.
==17681== in use at exit: 352 bytes in 1 blocks
I have a simple piece of a program thats currently producing some memory leaks according to valgrind and I'm not sure why:
char *filename = strrchr(argv, "/") + 1;
file = fopen(fileName, "w");