Roman Bogorodskiy 4a82ef92be Fix closedir usage in virNumaGetPages
virNumaGetPages calls closedir(dir) in cleanup and dir could
be NULL if we jump there from the failed opendir() call.

While it's not harmful on Linux, FreeBSD libc crashes [1], so
make sure that dir is not NULL before calling closedir.

1: http://lists.freebsd.org/pipermail/freebsd-standards/2014-January/002704.html
2014-06-23 19:25:59 +04:00
..
2014-06-06 14:35:19 +02:00
2014-06-06 14:35:19 +02:00
2014-05-06 11:22:13 -04:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-04-08 11:15:55 +01:00
2014-06-19 15:10:49 +02:00
2014-04-07 06:14:45 -06:00
2014-04-07 06:14:45 -06:00
2014-06-06 14:35:19 +02:00
2014-04-28 17:52:45 -06:00