_ostree_sysroot_write_deployments_internal: stop leaking hash table
It appears the result of assign_bootserials() is never actually used, but I haven't changed it to return void right now. Leak found with valgrind memcheck. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #556 Approved by: cgwalters
This commit is contained in:
parent
ff28ac4a30
commit
c8a6b037ef
|
|
@ -1747,7 +1747,7 @@ _ostree_sysroot_write_deployments_internal (OstreeSysroot *self,
|
|||
|
||||
/* Assign a bootserial to each new deployment.
|
||||
*/
|
||||
assign_bootserials (new_deployments);
|
||||
g_hash_table_unref (assign_bootserials (new_deployments));
|
||||
|
||||
/* Determine whether or not we need to touch the bootloader
|
||||
* configuration. If we have an equal number of deployments with
|
||||
|
|
|
|||
Loading…
Reference in New Issue