Adding comments and fixing a memory leak on libtag_c freeing char*