diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-02-21 03:07:18 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-20 17:19:50 -0800 |
commit | 9a5818e92cee4c2052e4c44d8e9cec9dd5cd5f5c (patch) | |
tree | edad717814aecba774e09a2812d6357531d99baf /cochran.c | |
parent | 26a973cf5f8540ed91e4fd9c63b9e40e0bc4dd96 (diff) | |
download | subsurface-9a5818e92cee4c2052e4c44d8e9cec9dd5cd5f5c.tar.gz |
Fixed a memory leak in the divelist when moving with the keyboard
There were some small leaks before here, related to gtk_tree_iter_copy(),
but there is another one in select_next_dive():
nextiter = gtk_tree_iter_copy(iter);
This now requires a SJ near the epilog where we do the memory cleanup.
Lets call this similar label consistently "free_iter" between
select_prev_dive and select_next_dive.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'cochran.c')
0 files changed, 0 insertions, 0 deletions