don't call gconf_value_free with a NULL value
2007-05-19 Jens Granseuer <jensgr@gmx.net> * gconf-property-editor.c: (peditor_tree_view_widget_changed): don't call gconf_value_free with a NULL value svn path=/trunk/; revision=7638
This commit is contained in:
parent
23839961ae
commit
8e4cd52704
2 changed files with 8 additions and 1 deletions
|
@ -1927,7 +1927,9 @@ peditor_tree_view_widget_changed (GConfPropertyEditor *peditor,
|
|||
value = peditor->p->conv_from_widget_cb (peditor, value_wid);
|
||||
peditor_set_gconf_value (peditor, peditor->p->key, value);
|
||||
g_signal_emit (peditor, peditor_signals[VALUE_CHANGED], 0, peditor->p->key, value);
|
||||
gconf_value_free (value_wid);
|
||||
|
||||
if (value_wid)
|
||||
gconf_value_free (value_wid);
|
||||
if (value)
|
||||
gconf_value_free (value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue