Return a copy of a string in ghashtable configuration module.
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sat, 7 Feb 2009 01:37:41 +0000 (23:37 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sat, 7 Feb 2009 01:37:41 +0000 (23:37 -0200)
commit1c9aac9038f28baba924c05c2d184a3463ffd997
treeb5277757ca04612c12fe2df7514ff45df7372f6d
parente733c5e3123192bd67832574a6e7f0db0a10f7a7
Return a copy of a string in ghashtable configuration module.

Since gkeyfile module returns a string copy that must be freed, other
modules must do as well, to avoid releasing a static or stack string or
double-freeing a dynamic one.
config/ghashtable/ghashtable.c