diff options
author | Milan Crha <mcrha@redhat.com> | 2008-07-03 17:32:25 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-07-03 17:32:25 +0800 |
commit | caa0a3d44c74e440d5de07f770583491549edb82 (patch) | |
tree | 0c5d97589f8fb63266fc3b1801a358ff9f4d8abf /calendar/gui/memos-component.c | |
parent | ea3b220f0497a14ec15408dfdfab7d5d693974b8 (diff) | |
download | gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.tar gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.tar.gz gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.tar.bz2 gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.tar.lz gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.tar.xz gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.tar.zst gsoc2013-evolution-caa0a3d44c74e440d5de07f770583491549edb82.zip |
** Fix for bug #540152
2008-07-03 Milan Crha <mcrha@redhat.com>
** Fix for bug #540152
* addressbook/gui/component/addressbook-component.c: (ensure_sources):
Unref source only when we created it - the list owns the pointer now.
* calendar/gui/calendar-component.c: (ensure_sources):
Unref sources only when we created it - the list owns the pointer now.
* calendar/gui/tasks-component.c: (ensure_sources):
* calendar/gui/memos-component.c: (ensure_sources): Do not leak ESource.
svn path=/trunk/; revision=35717
Diffstat (limited to 'calendar/gui/memos-component.c')
-rw-r--r-- | calendar/gui/memos-component.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c index 941862a6af..df17624f75 100644 --- a/calendar/gui/memos-component.c +++ b/calendar/gui/memos-component.c @@ -208,6 +208,7 @@ ensure_sources (MemosComponent *component) /* Create the default Person addressbook */ ESource *source = e_source_new (_("Personal"), PERSONAL_RELATIVE_URI); e_source_group_add_source (on_this_computer, source, -1); + g_object_unref (source); memos_selected = calendar_config_get_memos_selected (); |