X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=blobdiff_plain;f=divelist.c;h=e994b32527d1dd2289259b5f489052fd8303971e;hp=1d31da5676311c3e4eb0e126303a3d4a1e137c08;hb=307240d6f6fefa83618e8c271203bc57df1081c7;hpb=3c542b5a418751f22511f6b1d554252c6e472a43 diff --git a/divelist.c b/divelist.c index 1d31da5..e994b32 100644 --- a/divelist.c +++ b/divelist.c @@ -556,6 +556,9 @@ static void fill_one_dive(struct dive *dive, DIVE_OTU, dive->otu, DIVE_TOTALWEIGHT, total_weight(dive), -1); + + free(location); + free(cylinder); } static gboolean set_one_dive(GtkTreeModel *model,