Mercurial > pidgin.yaz
diff finch/libgnt/gntstyle.c @ 18317:8aff2d3d6820
Plug a memory leak.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 27 Jun 2007 20:46:39 +0000 |
parents | adcb44a07a2d |
children | 65ed0916d3bc 576edd9c4f72 |
line wrap: on
line diff
--- a/finch/libgnt/gntstyle.c Wed Jun 27 20:38:10 2007 +0000 +++ b/finch/libgnt/gntstyle.c Wed Jun 27 20:46:39 2007 +0000 @@ -45,7 +45,7 @@ return str_styles[style]; } -const char *gnt_style_get_from_name(const char *group, const char *key) +char *gnt_style_get_from_name(const char *group, const char *key) { #if GLIB_CHECK_VERSION(2,6,0) return g_key_file_get_value(gkfile, group, key, NULL);