projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a9eee
)
freeing XML doc pointer after usage, otherwise we have a memory leak
author
Marc Cromme
<marc@indexdata.dk>
Wed, 11 Apr 2007 11:22:35 +0000
(11:22 +0000)
committer
Marc Cromme
<marc@indexdata.dk>
Wed, 11 Apr 2007 11:22:35 +0000
(11:22 +0000)
src/settings.c
patch
|
blob
|
history
diff --git
a/src/settings.c
b/src/settings.c
index
ea84e06
..
ba913db
100644
(file)
--- a/
src/settings.c
+++ b/
src/settings.c
@@
-1,4
+1,4
@@
-/* $Id: settings.c,v 1.11 2007-04-11 02:14:15 quinn Exp $
+/* $Id: settings.c,v 1.12 2007-04-11 11:22:35 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
@@
-215,6
+215,8
@@
static void read_settings_file(const char *path,
xmlFree(valuea);
xmlFree(usera);
xmlFree(targeta);
+
+ xmlFreeDoc(doc);
}
// Recursively read files in a directory structure, calling