diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-11-23 22:33:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-11-23 22:33:50 (GMT) |
commit | 1970b15efeac7efcdc37ebcf98bb87f2d838d64e (patch) | |
tree | 8fc3bb0e7ce9eb4d74334072f847df67066baca2 | |
parent | 411f03130cf45194689bc344f19a3b77c33a31ae (diff) |
Do not forget to save binary portion build parameters.
-rw-r--r-- | src/glibext/portion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glibext/portion.c b/src/glibext/portion.c index e5604b6..096a39d 100644 --- a/src/glibext/portion.c +++ b/src/glibext/portion.c @@ -202,6 +202,9 @@ GBinaryPortion *g_binary_portion_new(const vmpa2t *addr, phys_t size) result = g_object_new(G_TYPE_BINARY_PORTION, NULL); + if (!g_binary_portion_create(result, addr, size)) + g_clear_object(&result); + return result; } |