aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@helixcode.com>2000-05-08 13:08:37 +0800
committerLarry Ewing <lewing@src.gnome.org>2000-05-08 13:08:37 +0800
commit2d5740212cec3db7df1c993b2446f7e3f11685d0 (patch)
tree580f16a454411dc74988ca9a0da3558ef1fe347d /shell/e-shortcuts.c
parent68a38d1915a042cf481ba90c2afc208f9976b735 (diff)
downloadgsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.tar
gsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.tar.gz
gsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.tar.bz2
gsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.tar.lz
gsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.tar.xz
gsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.tar.zst
gsoc2013-evolution-2d5740212cec3db7df1c993b2446f7e3f11685d0.zip
xmlFree the return value of xmlGetProp.
2000-05-08 Larry Ewing <lewing@helixcode.com> * e-shortcuts.c (load_shortcuts_into_view): xmlFree the return value of xmlGetProp. svn path=/trunk/; revision=2903
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r--shell/e-shortcuts.c2
1 files changed, 2 insertions, 0 deletions
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 <gtk/gtktypeutils.h>
#include <gnome-xml/parser.h>
+#include <gnome-xml/xmlmemory.h>
#include <string.h>
@@ -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) {