summaryrefslogtreecommitdiff
path: root/bsd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'bsd.cc')
-rw-r--r--bsd.cc3
1 files changed, 1 insertions, 2 deletions
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