From 9a46b042c57144c26a67781d335e6ba4128382d2 Mon Sep 17 00:00:00 2001 From: srs5694 Date: Tue, 15 Mar 2011 00:34:10 -0400 Subject: Patches supplied by Florian Zumbiehl --- bsd.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bsd.cc') diff --git a/bsd.cc b/bsd.cc index c3ecadf..57fb912 100644 --- a/bsd.cc +++ b/bsd.cc @@ -37,8 +37,7 @@ BSDData::BSDData(void) { } // default constructor BSDData::~BSDData(void) { - if (partitions != NULL) - delete[] partitions; + delete[] partitions; } // destructor // Read BSD disklabel data from the specified device filename. This function -- cgit v1.2.1