diff options
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r-- | modutils/modprobe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 57e19b4ab..09494ca5f 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c | |||
@@ -686,8 +686,8 @@ static int check_pattern(const char* pat_src, const char* mod_src) { | |||
686 | ret = fnmatch(pat, mod, 0); | 686 | ret = fnmatch(pat, mod, 0); |
687 | 687 | ||
688 | if (ENABLE_FEATURE_CLEAN_UP) { | 688 | if (ENABLE_FEATURE_CLEAN_UP) { |
689 | free (pat); | 689 | free(pat); |
690 | free (mod); | 690 | free(mod); |
691 | } | 691 | } |
692 | 692 | ||
693 | return ret; | 693 | return ret; |