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
dbus
dbus-glib
Commits
9c038151
Commit
9c038151
authored
Apr 10, 2018
by
x00292102
Committed by
Simon McVittie
Dec 03, 2018
Browse files
Fix double free for data.channel
Signed-off-by:
Zhipeng Xie
<
xiezhipeng1@huawei.com
>
parent
39f0ae61
Pipeline
#10991
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dbus/dbus-binding-tool-glib.c
View file @
9c038151
...
...
@@ -870,11 +870,13 @@ dbus_binding_tool_output_glib_server (BaseInfo *info, GIOChannel *channel, const
ret
=
FALSE
;
g_io_channel_shutdown
(
data
.
channel
,
TRUE
,
error
);
g_io_channel_unref
(
data
.
channel
);
data
.
channel
=
NULL
;
goto
io_lose
;
}
g_io_channel_shutdown
(
data
.
channel
,
TRUE
,
error
);
g_io_channel_unref
(
data
.
channel
);
data
.
channel
=
NULL
;
/* Now spawn glib-genmarshal to insert all our required marshallers */
argv
=
g_ptr_array_new
();
...
...
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