malloc and free work! To much debug printf