Summary: | if dbus-binding-tool fails, it leaves temporary files lying around | ||
---|---|---|---|
Product: | dbus | Reporter: | Simon McVittie <smcv> |
Component: | GLib | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | blocker | ||
Priority: | medium | CC: | rob.taylor, will |
Version: | unspecified | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.freedesktop.org/~smcv/dbus-glib/log/?h=clean-up-tmp-37812 | ||
Whiteboard: | review? | ||
i915 platform: | i915 features: | ||
Bug Depends on: | 36428 | ||
Bug Blocks: | |||
Attachments: | dbus-binding-tool: clean up temporary file on error |
Description
Simon McVittie
2011-06-01 03:56:09 UTC
Review of attachment 47417 [details] [review]: Looks fine, except … ::: dbus/dbus-glib-tool.c @@ +478,3 @@ + (void) g_remove (output_file_tmp); + + (void) g_io_channel_shutdown (channel, FALSE, NULL); Surely you should put this into the if (channel != NULL) {} block? Fixed in 0.94 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.