Add a few_missing calls to g_free()

svn path=/trunk/; revision=27012
This commit is contained in:
Bill Meier 2008-12-15 21:42:49 +00:00
parent 039bb466fc
commit 1a0a4d28c2
2 changed files with 3 additions and 0 deletions

View File

@ -201,6 +201,7 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
"The packets in the capture file for that stream have no data.");
ws_close(tmp_fd);
ws_unlink(follow_info->data_out_filename);
g_free(follow_info->filter_out_filter);
g_free(follow_info);
return;
}
@ -231,6 +232,7 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
}
ws_close(tmp_fd);
ws_unlink(follow_info->data_out_filename);
g_free(follow_info->filter_out_filter);
g_free(follow_info);
return;
}

View File

@ -156,6 +156,7 @@ follow_udp_stream_cb(GtkWidget *w, gpointer data _U_)
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Can't register udp_follow tap: %s\n",
msg->str);
g_free(follow_info->filter_out_filter);
g_free(follow_info);
return;
}