Repository navigation
Commit c7d47f2
modpost: free allocated memory
valgrind complains that memory is not freed after allocation
with realloc() called from main() and write_dump().
So let us free the allocated memory properly.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Link: http://lkml.kernel.org/r/1470166981-6461-1-git-send-email-xypron.glpk@gmx.de
Signed-off-by: Jessica Yu <jeyu@redhat.com>1 parent a25f094 commit c7d47f2
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2371 | 2371 | | |
2372 | 2372 | | |
2373 | 2373 | | |
| 2374 | + | |
2374 | 2375 | | |
2375 | 2376 | | |
2376 | 2377 | | |
| |||
2496 | 2497 | | |
2497 | 2498 | | |
2498 | 2499 | | |
| 2500 | + | |
2499 | 2501 | | |
2500 | 2502 | | |
2501 | 2503 | | |
0 commit comments