Commit 017d99d7 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

grid_free_components(): removed call to cdiDeleteKeys().

parent cd4dc947
......@@ -207,10 +207,10 @@ void grid_free_components(grid_t *gridptr)
if ( p2free[i] ) Free(p2free[i]);
int gridID = gridptr->self;
cdiDeleteKeys(gridID, CDI_XAXIS);
cdiDeleteKeys(gridID, CDI_YAXIS);
cdiDeleteKeys(gridID, CDI_GLOBAL);
cdiDeleteAtts(gridID, CDI_GLOBAL);
// cdiDeleteKeys(gridID, CDI_XAXIS);
// cdiDeleteKeys(gridID, CDI_YAXIS);
// cdiDeleteKeys(gridID, CDI_GLOBAL);
// cdiDeleteAtts(gridID, CDI_GLOBAL);
}
void grid_free(grid_t *gridptr)
......
......@@ -252,9 +252,6 @@ void vlist_delete(vlist_t *vlistptr)
if ( vars ) Free(vars);
cdiDeleteKeys(vlistID, CDI_GLOBAL);
cdiDeleteAtts(vlistID, CDI_GLOBAL);
vlist_delete_entry(vlistptr);
}
......
Markdown is supported
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