Skip to content
Snippets Groups Projects
Commit 26d2a4b5 authored by Morris Jette's avatar Morris Jette
Browse files

Fix for Coverity

CID 182713
parent 108502e9
No related branches found
No related tags found
No related merge requests found
......@@ -1597,6 +1597,7 @@ static void _set_features(struct node_record *old_node_table_ptr,
else
sep = "";
tmp = xstrdup(old_node_ptr->features);
save_ptr = NULL;
tok = strtok_r(tmp, ",", &save_ptr);
while (tok) {
if (node_features_g_changible_feature(tok)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment