From 2d5740212cec3db7df1c993b2446f7e3f11685d0 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 8 May 2000 05:08:37 +0000 Subject: xmlFree the return value of xmlGetProp. 2000-05-08 Larry Ewing * e-shortcuts.c (load_shortcuts_into_view): xmlFree the return value of xmlGetProp. svn path=/trunk/; revision=2903 --- shell/ChangeLog | 5 +++++ shell/e-shortcuts.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index 3126468d89..821c988da2 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-05-08 Larry Ewing + + * e-shortcuts.c (load_shortcuts_into_view): xmlFree the return + value of xmlGetProp. + 2000-05-07 Ettore Perazzoli * e-shortcuts-view.c (e_shortcuts_view_construct): Use diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c index 0fa7b27f61..aeacec2752 100644 --- a/shell/e-shortcuts.c +++ b/shell/e-shortcuts.c @@ -47,6 +47,7 @@ #include #include +#include #include @@ -150,6 +151,7 @@ load_shortcuts (EShortcuts *shortcuts, shortcut_group = g_new (ShortcutGroup, 1); shortcut_group->title = g_strdup (shortcut_group_title); + xmlFree (shortcut_group_title); shortcut_group->shortcuts = NULL; for (q = p->childs; q != NULL; q = q->next) { -- cgit