projects
/
cascardo
/
atompub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return a copy of a string in ghashtable configuration module.
[cascardo/atompub.git]
/
config
/
ghashtable
/
ghashtable.c
diff --git
a/config/ghashtable/ghashtable.c
b/config/ghashtable/ghashtable.c
index
ab32036
..
f5a946b
100644
(file)
--- a/
config/ghashtable/ghashtable.c
+++ b/
config/ghashtable/ghashtable.c
@@
-75,7
+75,7
@@
ghashtable_atom_config_get_str (AtomCtx *ctx, gchar *group, gchar * key)
atom_error_message_set (aerr, "Could not find configuration value");
atom_error_set (ctx, aerr);
}
- return
value
;
+ return
g_strdup (value)
;
}
AtomConfig *