diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-01-25 16:55:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-25 07:29:19 -0800 |
commit | 7bb6108c340bee88b0b72cd92cce83398b3234ee (patch) | |
tree | a82be1b6e6b1214713b35fd9baef889e793b1c98 | |
parent | 29ae8cb13131164dcc114458c81bf737de1de469 (diff) | |
download | subsurface-7bb6108c340bee88b0b72cd92cce83398b3234ee.tar.gz |
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>
-rw-r--r-- | divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c index f9ca3ef41..8b86c5343 100644 --- a/divelist.c +++ b/divelist.c @@ -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); |