Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
017d99d7
Commit
017d99d7
authored
Nov 07, 2019
by
Uwe Schulzweida
Browse files
grid_free_components(): removed call to cdiDeleteKeys().
parent
cd4dc947
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
017d99d7
...
...
@@ -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
)
...
...
src/vlist.c
View file @
017d99d7
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment