Jesse Larrew beb54a87ba libqtest: only call fclose() on open files
libqtest.c can segfault when calling fclose() if the pidfile wasn't
opened successfully. This patch fixes the issue.

Signed-off-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1367250772-17928-1-git-send-email-jlarrew@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-04-30 16:04:14 -05:00
..
2012-03-12 15:14:07 +01:00
2013-04-17 10:27:47 -05:00
2013-02-18 08:39:10 -06:00
2013-01-16 12:14:20 -06:00
2013-01-16 12:14:20 -06:00
2013-02-18 08:39:10 -06:00
2013-02-18 08:39:10 -06:00
2013-04-17 10:27:47 -05:00
2013-04-08 18:13:10 +02:00
2013-01-17 10:51:42 +01:00
2013-02-01 08:32:20 +01:00
2013-04-08 18:13:10 +02:00