# HG changeset patch # User Rob Flynn # Date 953992414 0 # Node ID f60e533679cef7facf47a2ddf27254895d713362 # Parent d90f556e4aa383d7e6a59a79d177ffc73d8af25b [gaim-migrate @ 47] Fixed a strlen(away_message) memory leak in create_mess() committer: Tailor Script diff -r d90f556e4aa3 -r f60e533679ce src/dialogs.c --- a/src/dialogs.c Sat Mar 25 13:45:13 2000 +0000 +++ b/src/dialogs.c Sat Mar 25 13:53:34 2000 +0000 @@ -1974,7 +1974,7 @@ away_message = gtk_editable_get_chars(GTK_EDITABLE(ca->text), 0, text_len); g_snprintf(b->message, sizeof(b->message), "%s", away_message); - + g_free(away_message); is_checked = GTK_TOGGLE_BUTTON(ca->checkbx)->active; if (is_checked) do_away_message(NULL, b);