libxl: only free console reader if it was allocated in main_dmesg
authorMatthew Daley <mattjd@gmail.com>
Wed, 18 Sep 2013 03:37:50 +0000 (15:37 +1200)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Sep 2013 11:56:00 +0000 (12:56 +0100)
commit2e979531e51bafe3dbf9a36546a90176a6bd11e5
tree2af61c1599771baf98ed255cef9f6f0d6c3bc830
parent96c0061c0168de4e322b0b869f9c7f3b907b53ce
libxl: only free console reader if it was allocated in main_dmesg

Coverity-ID: 1055304
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c