You just forget where the memory is that you asked for on the heap and it's not going to get cleaned up on the stack because malloc puts it somewhere else.
Iran's explanation is that the nuclear smuggling network run by Pakistan's Abdul Qadeer Khan had sent it this document in 1987, along with other documentation on centrifuges Iran had received, but that Iran had notaskedforit.