comparison src/gnome_applet_mgr.c @ 23:e91430c2b276

[gaim-migrate @ 32] Free the whales, save the mallocs? No, that's not it... I'll get it eventually. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 24 Mar 2000 04:55:18 +0000
parents 2c150f36612b
children be3417b255db
comparison
equal deleted inserted replaced
22:e23783a60a7f 23:e91430c2b276
283 a->name, 283 a->name,
284 (AppletCallbackFunc)do_away_message, 284 (AppletCallbackFunc)do_away_message,
285 a); 285 a);
286 286
287 awy = awy->next; 287 awy = awy->next;
288 free(awayname);
288 } 289 }
289 } 290 }
290 291
291 void remove_applet_away() { 292 void remove_applet_away() {
292 GList *awy = away_messages; 293 GList *awy = away_messages;
303 strcat(awayname, "away/"); 304 strcat(awayname, "away/");
304 strcat(awayname, a->name); 305 strcat(awayname, a->name);
305 applet_widget_unregister_callback(APPLET_WIDGET(applet), awayname); 306 applet_widget_unregister_callback(APPLET_WIDGET(applet), awayname);
306 307
307 awy = awy->next; 308 awy = awy->next;
309 free(awayname);
308 } 310 }
309 applet_widget_unregister_callback_dir(APPLET_WIDGET(applet), "away"); 311 applet_widget_unregister_callback_dir(APPLET_WIDGET(applet), "away");
310 applet_widget_unregister_callback(APPLET_WIDGET(applet), "away"); 312 applet_widget_unregister_callback(APPLET_WIDGET(applet), "away");
311 } 313 }
312 314