diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mod/modpost.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index bd8349759095..5a6b39a29b7a 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2371,6 +2371,7 @@ static void write_dump(const char *fname)  		}  	}  	write_if_changed(&buf, fname); +	free(buf.p);  }  struct ext_sym_list { @@ -2496,6 +2497,7 @@ int main(int argc, char **argv)  			      "Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.\n");  		}  	} +	free(buf.p);  	return err;  } | 
