Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
bolt
bolt
Commits
78fe16e3
Commit
78fe16e3
authored
Nov 28, 2020
by
Christian Kellner
Browse files
manager: plug tiny leak on finalize
Properly unref the config key file when finalizing the object.
parent
6a6968a7
Pipeline
#236100
passed with stage
in 6 minutes and 8 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
boltd/bolt-manager.c
View file @
78fe16e3
...
...
@@ -304,6 +304,8 @@ bolt_manager_finalize (GObject *object)
g_ptr_array_free
(
mgr
->
devices
,
TRUE
);
bolt_domain_clear
(
&
mgr
->
domains
);
g_clear_pointer
(
&
mgr
->
config
,
g_key_file_unref
);
g_clear_object
(
&
mgr
->
power
);
g_clear_object
(
&
mgr
->
bouncer
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment