1--- libsrc4/nc4info.c.ori 2017-06-07 10:28:11.478130590 +0200 2+++ libsrc4/nc4info.c 2017-06-07 10:28:29.670268763 +0200 3@@ -174,11 +174,8 @@ 4 herr = 0; 5 } 6 done: 7- if(ncstat != NC_NOERR) { 8- if(text != NULL) { 9- free(text); 10- text = NULL; 11- } 12+ if(text != NULL) { 13+ free(text); 14 } 15 16 if(attid >= 0) HCHECK((H5Aclose(attid))); 17