Commit 822ed835 authored by James Willis's avatar James Willis
Browse files

Free cell node IDs after VELOCIraptor has used them.

parent b5dea1b6
......@@ -151,4 +151,7 @@ void invoke_velociraptor(struct engine *e) {
//for(int i=0; i<nr_gparts; i++) message("Potential: %f", gparts[i].potential);
InvokeVelociraptor(nr_gparts, gparts, cell_node_ids);
/* Free cell node ids after VELOCIraptor has copied them. */
free(cell_node_ids);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment