Bug 680842 - preferences: don't free consumed floating GVariant
preferences: don't free consumed floating GVariant
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-07-30 15:09 UTC by Allison Lortie (desrt) (extended vacation)
Modified: 2012-08-01 08:06 UTC (History)
0 users

See Also:
GNOME target: ---
GNOME version: ---


Attachments
preferences: don't free consumed floating GVariant (892 bytes, patch)
2012-07-30 15:09 UTC, Allison Lortie (desrt) (extended vacation)
committed Details | Diff | Review

Description Allison Lortie (desrt) (extended vacation) 2012-07-30 15:09:18 UTC
See patch.
Comment 1 Allison Lortie (desrt) (extended vacation) 2012-07-30 15:09:20 UTC
Created attachment 219899 [details] [review]
preferences: don't free consumed floating GVariant

g_variant_builder_end() returns a floating reference and
g_settings_set_value() consumes it, so we should not unref it again.
Comment 2 Jonathan Matthew 2012-07-30 21:37:11 UTC
Review of attachment 219899 [details] [review]:

sure.
Comment 3 Allison Lortie (desrt) (extended vacation) 2012-08-01 08:06:17 UTC
Attachment 219899 [details] pushed as 0a3cb15 - preferences: don't free consumed floating GVariant

Note You need to log in before you can comment on or make changes to this bug.