Mercurial > pidgin.yaz
changeset 257:a93e273ca1d6
[gaim-migrate @ 267]
No one actually uses this, do they.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 24 May 2000 07:25:33 +0000 |
parents | 7615d22ad227 |
children | 1eeece1c7b7b |
files | plugins/spellchk.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/spellchk.c Tue May 23 18:11:39 2000 +0000 +++ b/plugins/spellchk.c Wed May 24 07:25:33 2000 +0000 @@ -228,7 +228,7 @@ } void substitute(char **mes, int pos, int m, char *text) { - char *new = malloc(strlen(*mes) + strlen(text) + 1); + char *new = g_malloc(strlen(*mes) + strlen(text) + 1); char *tmp; new[0] = 0; @@ -238,7 +238,7 @@ strcat(new, &(*mes)[pos + m]); tmp = *mes; *mes = new; - free(tmp); + g_free(tmp); } GtkWidget *configwin = NULL;