Fixed free(commbuffer)- needed closing ;