OSDN Git Service

linux: don't leak a FILE* upon /proc read failure
authorJim Meyering <meyering@redhat.com>
Fri, 27 May 2011 11:53:36 +0000 (13:53 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 27 May 2011 11:53:36 +0000 (13:53 +0200)
commitaff3ed70d47ae8e2da057d00dd3d4ab08b0cf574
tree13a9ea5eb7ab9375e64ec1baef809824a9a345ca
parent57eee615897283e0c4560a0849a568b23108926e
linux: don't leak a FILE* upon /proc read failure

* libparted/arch/linux.c (_probe_proc_partitions): Call fclose
upon failure.
libparted/arch/linux.c