[Edit1:] For the seqName, I declare it as a global parameter at the beginning of the file as char seqName[20]; [Edit2:] Aren’t those number of passing to the program during the actual execution? I got the following message just by using the valgrind tool. The command I input is: jl@ubuntu:~/work/dsr_analysis$ valgrind –tool=memcheck –leak-check=yes ./test [Edit3:] Sorry, since I am a