구조체 malloc 할때 A=malloc.... 한담에 A->B=malloc...


해서 구조체 안에 잇는 포인터들도 메모리 할당 해주잖아 그럼


free 할땐 free(A->B) 부터 반대로 해줘야됨?