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
Archive
gnome-games
Commits
a362a7d4
Commit
a362a7d4
authored
Aug 05, 2017
by
Adrien Plazas
Browse files
gamepad-mappings-manager: Add a missing g_free()
This avoids a memory leak.
parent
d0f04b4f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/gamepad/gamepad-mappings-manager.c
View file @
a362a7d4
...
...
@@ -83,6 +83,7 @@ add_from_input_stream (GamesGamepadMappingsManager *self,
break
;
add_mapping
(
self
,
mapping_string
);
g_free
(
mapping_string
);
}
g_object_unref
(
data_stream
);
}
...
...
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