Free some recently added strings when we are done with them.

svn path=/trunk/; revision=22878
This commit is contained in:
Stephen Fisher 2007-09-16 05:42:02 +00:00
parent d2d4fcd903
commit de33c21ae8
2 changed files with 8 additions and 0 deletions

View File

@ -263,6 +263,10 @@ follow_ssl_stream_cb(GtkWidget * w, gpointer data _U_)
follow_stream("Follow SSL Stream", follow_info, both_directions_string,
server_to_client_string, client_to_server_string);
g_free(both_directions_string);
g_free(server_to_client_string);
g_free(client_to_server_string);
}
#define FLT_BUF_SIZE 1024

View File

@ -298,6 +298,10 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
follow_stream("Follow TCP Stream", follow_info, both_directions_string,
server_to_client_string, client_to_server_string);
g_free(both_directions_string);
g_free(server_to_client_string);
g_free(client_to_server_string);
data_out_file = NULL;
}