fixed minor memory leak with particle decomposition, fixes #752
authorBerk Hess <hess@hess.theophys.kth.se>
Tue, 17 May 2011 10:06:50 +0000 (12:06 +0200)
committerBerk Hess <hess@hess.theophys.kth.se>
Tue, 17 May 2011 10:06:50 +0000 (12:06 +0200)
src/kernel/runner.c

index cf2fd3735aff7cb37c4f26c5d5ccdf4aed39a279..0db72cb64d489d469c8d1d344ef683baf4d99d44 100644 (file)
@@ -647,10 +647,6 @@ int mdrunner(int nthreads_requested, FILE *fplog,t_commrec *cr,int nfile,
         {
             if (PAR(cr))
             {
-                if (!MASTER(cr))
-                {
-                    snew(state,1);
-                }
                 bcast_state(cr,state,TRUE);
             }
         }