All pastes #31127 Raw Edit

GNULinuxer

public c v1 · immutable
#31127 ·published 2005-11-25 07:04 UTC
rendered paste body
Index: modules/yahoo2/yahoo.c===================================================================RCS file: /cvsroot/ayttm/ayttm/modules/yahoo2/yahoo.c,vretrieving revision 1.93diff -a -u -r1.93 yahoo.c--- modules/yahoo2/yahoo.c  13 Feb 2005 13:39:32 -0000  1.93+++ modules/yahoo2/yahoo.c  24 Nov 2005 09:48:59 -0000@@ -274,7 +274,7 @@ #define YAHOO_FONT_SIZE "size=\"" #ifndef FREE-#define FREE(x)    if(x) { g_free((void *)x); x=NULL; }+#define FREE(x)    if(x) { g_free((void *)x); x=(void *)NULL; } #endif typedef struct {@@ -1236,7 +1236,7 @@        if(!strcmp(handle, who)) {            ycrd->members = y_list_remove_link(ycrd->members, l);            FREE(handle);-           FREE((YList *)l);+           FREE(l);            break;        }    }