Remove extraneous malloc in find_input routines
authorEric Sandeen <sandeen@redhat.com>
Fri, 16 Dec 2011 19:13:21 +0000 (13:13 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 1 Feb 2012 12:14:27 +0000 (13:14 +0100)
commit6ca1e530ba80c37dc9a686259fe643548ffce69c
tree798c55bfbadd4b7b0fc5ce3843607e24a25b0e5b
parentf9a89a6f99189f7929278d881de0ce011149d87c
Remove extraneous malloc in find_input routines

No point in malloc()ing space if we just immediately overwrite
the pointer via strdup.  That'll leak some space.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
btreplay/btrecord.c
btreplay/btreplay.c