projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5590bd4
)
e_cal_component_free_id() cleanups.
author
Matthew Barnes
<mbarnes@redhat.com>
Thu, 14 Mar 2013 18:50:43 +0000
(14:50 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Thu, 14 Mar 2013 18:51:26 +0000
(14:51 -0400)
calendar/libecal/e-cal-component.c
patch
|
blob
|
history
diff --git
a/calendar/libecal/e-cal-component.c
b/calendar/libecal/e-cal-component.c
index
1544db2
..
1243f80
100644
(file)
--- a/
calendar/libecal/e-cal-component.c
+++ b/
calendar/libecal/e-cal-component.c
@@
-5180,24
+5180,17
@@
e_cal_component_free_sequence (gint *sequence)
/**
* e_cal_component_free_id:
- * @id:
Component ID
+ * @id:
an #ECalComponentId
*
- * Frees the id.
+ * Frees the
@
id.
**/
void
e_cal_component_free_id (ECalComponentId *id)
{
g_return_if_fail (id != NULL);
- if (id->uid) {
- g_free (id->uid);
- id->uid = NULL;
- }
-
- if (id->rid) {
- g_free (id->rid);
- id->rid = NULL;
- }
+ g_free (id->uid);
+ g_free (id->rid);
g_free (id);
}