chiark / gitweb /
volume_id: remove all partition table support
[elogind.git] / extras / volume_id / libvolume_id / volume_id.c
index fdecf396c4abadd090dd4f0828d32153dbf660de..718d74e5b610b5e831988f5f6b59c4058293d9bd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * volume_id - reads filesystem label and uuid
+ * volume_id - reads volume label and uuid
  *
  * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
  *
@@ -221,8 +221,5 @@ void volume_id_close(struct volume_id *id)
 
        volume_id_free_buffer(id);
 
-       if (id->partitions != NULL)
-               free(id->partitions);
-
        free(id);
 }