forked from osmocom/wireshark
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:
parent
1660e397b9
commit
fa11167ea1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue