Call pclose after processing mpstat output.

This commit is contained in:
Ken Chiang
2017-02-06 15:59:48 -08:00
parent e1f1ff6afb
commit 572ed3b889

View File

@@ -126,6 +126,8 @@ void resource_update(void)
}
cJSON_Delete(root);
}
pclose(fp);
}
}