diff options
author | Dan Winship <danw@src.gnome.org> | 2003-07-02 21:29:55 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-07-02 21:29:55 +0800 |
commit | 43d436a36ebd59699b20f6e49f544ad24c8d8a30 (patch) | |
tree | b65aee0432b3c88a8ca33cb12e2e33e93e7dd4f7 /calendar/gui/dialogs/task-page.c | |
parent | 55b00d2c1261b744640134260abf94d60d8d0e58 (diff) | |
download | gsoc2013-evolution-43d436a36ebd59699b20f6e49f544ad24c8d8a30.tar.gz gsoc2013-evolution-43d436a36ebd59699b20f6e49f544ad24c8d8a30.tar.zst gsoc2013-evolution-43d436a36ebd59699b20f6e49f544ad24c8d8a30.zip |
Don't leak exceptions (load_static_capabilities): free the capability
* cal-client/cal-client.c (real_open_calendar): Don't leak
exceptions
(load_static_capabilities): free the capability string
* gui/dialogs/task-page.c (task_page_fill_component): Free the
description text if it *was* set, rather than if it wasn't.
* gui/dialogs/task-editor.c (task_editor_finalize): Free the priv
struct.
svn path=/trunk/; revision=21722
Diffstat (limited to 'calendar/gui/dialogs/task-page.c')
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index c83473ef07..b68adba47d 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -464,7 +464,7 @@ task_page_fill_component (CompEditorPage *page, CalComponent *comp) cal_component_set_description_list (comp, &l); } - if (!str) + if (str) g_free (str); /* Dates */ |