mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Small fix for a possible crash in divelist.c
divelist.c:copy_tree_node(): pass the pointer "icon" to gtk_tree_store_set() Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
29ae8cb131
commit
7bb6108c34
1 changed files with 1 additions and 1 deletions
|
@ -1776,7 +1776,7 @@ static int copy_tree_node(GtkTreeIter *a, GtkTreeIter *b)
|
|||
DIVE_OTU, store_dive.otu,
|
||||
DIVE_MAXCNS, store_dive.maxcns,
|
||||
DIVE_LOCATION, store_dive.location,
|
||||
DIVE_LOC_ICON, &icon,
|
||||
DIVE_LOC_ICON, icon,
|
||||
-1);
|
||||
free(cylinder_text);
|
||||
free(store_dive.location);
|
||||
|
|
Loading…
Add table
Reference in a new issue