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:
2f29d90
)
Release NMEM when config cant be read
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 10 Sep 2009 13:31:55 +0000
(15:31 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 10 Sep 2009 13:31:55 +0000
(15:31 +0200)
src/pazpar2_config.c
patch
|
blob
|
history
diff --git
a/src/pazpar2_config.c
b/src/pazpar2_config.c
index
197b696
..
9456f86
100644
(file)
--- a/
src/pazpar2_config.c
+++ b/
src/pazpar2_config.c
@@
-886,6
+886,7
@@
struct conf_config *config_create(const char *fname, int verbose)
if (!doc)
{
yaz_log(YLOG_FATAL, "Failed to read %s", fname);
+ nmem_destroy(nmem);
return 0;
}