Skip to content

Commit

Permalink
compat-suse: fix memleak in __ni_suse_read_global_ifsysctl()
Browse files Browse the repository at this point in the history
  • Loading branch information
cfconrad committed Jun 1, 2023
1 parent 7b359d5 commit 00c94a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/suse/compat-suse.c
Expand Up @@ -406,6 +406,8 @@ __ni_suse_read_global_ifsysctl(const char *root, const char *path)
name = files.data[i];
ni_ifsysctl_file_load(&__ni_suse_global_ifsysctl, name);
}

ni_string_array_destroy(&files);
return TRUE;
}

Expand Down

0 comments on commit 00c94a9

Please sign in to comment.