? gaim.spec.in.stu Index: plugins/spellchk.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/spellchk.c,v retrieving revision 1.52 diff -u -u -r1.52 spellchk.c --- plugins/spellchk.c 9 Nov 2003 07:58:23 -0000 1.52 +++ plugins/spellchk.c 22 Nov 2003 18:45:58 -0000 @@ -107,7 +107,7 @@ buf = g_build_filename(gaim_user_dir(), "dict", NULL); g_file_get_contents(buf, &ibuf, &size, NULL); - free(buf); + g_free(buf); if(!ibuf) { ibuf = g_strdup(defaultconf); size = strlen(defaultconf); @@ -133,7 +133,7 @@ } } } - free(ibuf); + g_free(ibuf); } Index: src/conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.572 diff -u -u -r1.572 conversation.c --- src/conversation.c 18 Nov 2003 23:28:40 -0000 1.572 +++ src/conversation.c 22 Nov 2003 18:45:58 -0000 @@ -1785,8 +1785,8 @@ { g_return_if_fail(chat != NULL); - if (chat->who != NULL) free(chat->who); - if (chat->topic != NULL) free(chat->topic); + if (chat->who != NULL) g_free(chat->who); + if (chat->topic != NULL) g_free(chat->topic); chat->who = (who == NULL ? NULL : g_strdup(who)); chat->topic = (topic == NULL ? NULL : g_strdup(topic)); Index: src/protocols/toc/toc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v retrieving revision 1.129 diff -u -u -r1.129 toc.c --- src/protocols/toc/toc.c 14 Oct 2003 05:07:39 -0000 1.129 +++ src/protocols/toc/toc.c 22 Nov 2003 18:45:59 -0000 @@ -309,7 +309,7 @@ } /* Allocate a string */ - ret = (char *)malloc((j+1) * sizeof(char)); + ret = (char *)g_malloc((j+1) * sizeof(char)); /* Copy the string */ for (i=0, j=0; msg[i]; i++) @@ -436,7 +436,7 @@ ret = toc_write(tdt->toc_fd, obuf, slen); free(obuf); - free(escaped); + g_free(escaped); return ret; } Index: src/protocols/trepia/trepia.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/trepia/trepia.c,v retrieving revision 1.41 diff -u -u -r1.41 trepia.c --- src/protocols/trepia/trepia.c 30 Oct 2003 16:02:28 -0000 1.41 +++ src/protocols/trepia/trepia.c 22 Nov 2003 18:45:59 -0000 @@ -592,7 +592,7 @@ if (*buffer != '\0') g_hash_table_insert(data->keys, data->tag, buffer); else - free(buffer); + g_free(buffer); } data->tag = NULL; Index: src/win32/win32dep.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/win32/win32dep.c,v retrieving revision 1.38 diff -u -u -r1.38 win32dep.c --- src/win32/win32dep.c 16 Nov 2003 03:23:37 -0000 1.38 +++ src/win32/win32dep.c 22 Nov 2003 18:46:00 -0000 @@ -359,18 +359,18 @@ if( hmod == 0 ) { buf = g_win32_error_message( GetLastError() ); gaim_debug(GAIM_DEBUG_ERROR, "wgaim", "GetModuleHandle error: %s\n", buf); - free(buf); + g_free(buf); return NULL; } if(GetModuleFileName( hmod, (char*)&install_dir, MAXPATHLEN ) == 0) { buf = g_win32_error_message( GetLastError() ); gaim_debug(GAIM_DEBUG_ERROR, "wgaim", "GetModuleFileName error: %s\n", buf); - free(buf); + g_free(buf); return NULL; } buf = g_path_get_dirname( install_dir ); strcpy( (char*)&install_dir, buf ); - free( buf ); + g_free( buf ); return (char*)&install_dir; }