Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2646)

Issue 6449103: conf: cleanup GError usage (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by Daiki Ueno
Modified:
11 years, 10 months ago
Reviewers:
shawn.p.huang
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

conf: cleanup GError usage - there are missing g_error_free - some code assume error != NULL when setting *error - src/tests/ibus-config.c has unconditional "unset" but it checks the return value BUG=none

Patch Set 1 #

Patch Set 2 : check if config value really exists #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -22 lines) Patch
M conf/dconf/config.c View 3 chunks +15 lines, -6 lines 0 comments Download
M conf/gconf/config.c View 3 chunks +9 lines, -10 lines 0 comments Download
M conf/gconf/main.c View 1 chunk +1 line, -0 lines 0 comments Download
M conf/memconf/config.c View 1 chunk +4 lines, -4 lines 0 comments Download
M src/tests/ibus-config.c View 1 1 chunk +11 lines, -2 lines 0 comments Download

Messages

Total messages: 2
Daiki Ueno
- there are missing g_error_free - some code assume error != NULL when setting *error ...
11 years, 10 months ago (2012-08-07 07:22:53 UTC) #1
Peng
11 years, 10 months ago (2012-08-07 14:44:49 UTC) #2
LGTM. Could you please copy below info to CL description? Thanks.

On 2012/08/07 07:22:53, Daiki Ueno wrote:
> - there are missing g_error_free
> - some code assume error != NULL when setting *error
> - src/tests/ibus-config.c has unconditional "unset" but it checks the return
> value
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b