# HG changeset patch # User Eric Warmenhoven # Date 959153133 0 # Node ID a93e273ca1d62828c1b64ed441c3cf05c2b21541 # Parent 7615d22ad227925e6b4e807db7c8c913a48b9ecf [gaim-migrate @ 267] No one actually uses this, do they. committer: Tailor Script diff -r 7615d22ad227 -r a93e273ca1d6 plugins/spellchk.c --- 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;