diff options
Diffstat (limited to 'gconfig.c')
-rw-r--r-- | gconfig.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -189,6 +189,16 @@ int popgconf(struct gconffile **cf) { return 1; } +void freegconfmstr(char **mstr) { + int i; + + if (mstr) { + for (i = 0; mstr[i]; i++) + free(mstr[i]); + free(mstr); + } +} + void freegconf(struct gconffile **cf) { int i; |