Fixed a dangling pointer post-free. Marcos uncovered this issue

when using netcdf on linux via JNI.
This commit is contained in:
Ward Fisher 2012-11-27 23:56:36 +00:00
parent 0803ba20ba
commit 027e503c3e

View File

@ -48,6 +48,7 @@ free_NC(NC *ncp)
#else
free(ncp);
#endif /* _CRAYMPP && LOCKNUMREC */
ncp = NULL;
}
int