diff options
| -rw-r--r-- | trace-graph.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trace-graph.c b/trace-graph.c index 2ddd283..65af0db 100644 --- a/trace-graph.c +++ b/trace-graph.c | |||
| @@ -1894,7 +1894,8 @@ out: | |||
| 1894 | plot = ginfo->plot_array[i]; | 1894 | plot = ginfo->plot_array[i]; |
| 1895 | draw_plot(ginfo, plot, NULL); | 1895 | draw_plot(ginfo, plot, NULL); |
| 1896 | trace_graph_plot_end(ginfo, plot); | 1896 | trace_graph_plot_end(ginfo, plot); |
| 1897 | gdk_gc_unref(plot->gc); | 1897 | if (plot->gc) |
| 1898 | gdk_gc_unref(plot->gc); | ||
| 1898 | plot->gc = NULL; | 1899 | plot->gc = NULL; |
| 1899 | } | 1900 | } |
| 1900 | } | 1901 | } |
