modpost: free allocated memory
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 2 Aug 2016 19:43:01 +0000 (21:43 +0200)
committerJessica Yu <jeyu@redhat.com>
Sat, 26 Nov 2016 19:18:01 +0000 (11:18 -0800)
commitc7d47f26df949f0031fe2905068ee85db1b63ed9
treeb4ea46b0a1be0cd5e09516ace24e4a10b04e09cb
parenta25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6
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>
scripts/mod/modpost.c