Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed memory leaks and warnings in nc_test4/tst_empty_vlen_unlim.c #522

Merged

Conversation

edhartnett
Copy link
Contributor

Part of #520.
Fixes #510.

This test had some simple memory leaks, easily fixed.



printf("\t* Puting data in VLEN variable:\tnc_put_vara().\n");
stat = nc_put_vara(ncid,varid,startp,countp,data);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncommenting these lines, and the similar ones below, caused a bunch of the warnings to go away.

@edhartnett edhartnett changed the title fixed memory leak and warnings in test fixed memory leaks and warnings in nc_test4/tst_empty_vlen_unlim.c Oct 24, 2017
@WardF WardF merged commit dabc843 into Unidata:master Oct 25, 2017
@edhartnett edhartnett deleted the ejh_test_mem_leak branch October 25, 2017 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

memory leak in run_empty_vlen_test.sh
2 participants