solve the memory leak after restart
authorXiang Ni <xiangni2@illinois.edu>
Thu, 9 Feb 2012 17:08:31 +0000 (11:08 -0600)
committerXiang Ni <xiangni2@illinois.edu>
Thu, 9 Feb 2012 17:08:31 +0000 (11:08 -0600)
src/ck-core/ckmemcheckpoint.C

index 7ebee14243727d4e7714d54a80e1c4ae251c9a8a..d75e530626a1555c1a19027255e117bfb7e327a4 100644 (file)
@@ -896,6 +896,7 @@ void CkMemCheckPT::recoverArrayElements()
       imap[homePe].push_back(msg->index);
     }
 #endif
+       CkFreeMsg(msg);
     count ++;
   }
 #if STREAMING_INFORMHOME