aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-23 04:56:44 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-23 04:56:44 +0800
commit92669963df79ab225e1abbf021d141bfff905dc1 (patch)
tree7514abbf41113712668c529b2a550679e77bc61f /calendar/pcs
parentde29937663c02d9af6fd48783f235305fde71809 (diff)
downloadgsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.tar
gsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.tar.gz
gsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.tar.bz2
gsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.tar.lz
gsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.tar.xz
gsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.tar.zst
gsoc2013-evolution-92669963df79ab225e1abbf021d141bfff905dc1.zip
(cal_backend_ref_categories): Do not put the
category in both the changed_categories and the categories hashes; fixes a double-free when finalizing the CalBackend. [Hopefully this is the right fix.] svn path=/trunk/; revision=19572
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/cal-backend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index f797f3f67d..e829a9bd2a 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -1149,7 +1149,6 @@ cal_backend_ref_categories (CalBackend *backend, GSList *categories)
c = g_new (CalBackendCategory, 1);
c->name = g_strdup (name);
c->refcount = 1;
- g_hash_table_insert (priv->categories, c->name, c);
g_hash_table_insert (priv->changed_categories, c->name, c);
}
}