Skip to content

Instantly share code, notes, and snippets.

@duk3luk3
Created April 29, 2012 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duk3luk3/2552496 to your computer and use it in GitHub Desktop.
Save duk3luk3/2552496 to your computer and use it in GitHub Desktop.
//for (long row = 0; row < nrows; ++row) {
// delete [] arr2[row];
//}
//delete[] arr2;
for (long row = 0; row < nrows; ++row) {
free((double*) arr2[row]);
}
free((double**) arr2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment