From Evan Huus:

Misc resource leaks.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7296

svn path=/trunk/; revision=42892
This commit is contained in:
Anders Broman 2012-05-29 07:27:35 +00:00
parent 1660e397b9
commit fa11167ea1
2 changed files with 5 additions and 1 deletions

View File

@ -812,7 +812,10 @@ static void dialog_graph_draw(graph_analysis_data_t *user_data)
last_item = first_item+display_items-1;
/* if no items to display */
if (display_items == 0) return;
if (display_items == 0) {
g_free(time_str);
return;
}
/* Calculate the x borders */

View File

@ -83,6 +83,7 @@ download_file(const char *url, const char *filename) {
/* connect to url */
conn = netio_ie5_connect (url);
if (conn == NULL) {
ws_close(fd);
g_warning("Couldn't connect to %s!", url);
return -1;
}