This makes subsurface crash by simply clicking a dive in the list. Signed-off-by: Salvador Cuñat <salvador.cu...@gmail.com> --- divesite.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/divesite.c b/divesite.c index 5abab76..5c96bb2 100644 --- a/divesite.c +++ b/divesite.c @@ -171,7 +171,6 @@ void copy_dive_site(struct dive_site *orig, struct dive_site *copy) copy->uuid = orig->uuid; if (orig->taxonomy.category == NULL) { free_taxonomy(copy->taxonomy.category); - free(copy->taxonomy.category); copy->taxonomy.category = NULL; copy->taxonomy.nr = 0; } else { -- 2.1.4 _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface