Skip to content
Snippets Groups Projects
Commit 915806ac authored by jette's avatar jette
Browse files

Change code to use macro

No change in underlying logic
parent e432fe6e
No related branches found
No related tags found
No related merge requests found
......@@ -279,10 +279,7 @@ extern int license_update(char *licenses)
extern void license_free(void)
{
slurm_mutex_lock(&license_mutex);
if (license_list) {
list_destroy(license_list);
license_list = (List) NULL;
}
FREE_NULL_LIST(license_list);
slurm_mutex_unlock(&license_mutex);
}
......
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