4adaebe85c
git-svn-id: http://svn.sabayonlinux.org/overlay@397 d7aec97c-591d-0410-af39-a8856400b30a
16 lines
372 B
Diff
16 lines
372 B
Diff
diff --git a/partutil/partutil.c b/partutil/partutil.c
|
|
index 5da36d5..3a2c87b 100644
|
|
--- a/partutil/partutil.c
|
|
+++ b/partutil/partutil.c
|
|
@@ -585,7 +585,9 @@ part_table_parse_msdos (int fd, guint64
|
|
|
|
//HAL_INFO (("pe = %p", pe));
|
|
|
|
- p->entries = g_slist_append (p->entries, pe);
|
|
+ if (pe != NULL) {
|
|
+ p->entries = g_slist_append (p->entries, pe);
|
|
+ }
|
|
}
|
|
|
|
out:
|