X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=blobdiff_plain;f=divelist.c;h=36c5883b1e0e15784fa2a34741fb26372c87bc6c;hp=8cf079391bba04710be801558e137e6d1dd4e0b4;hb=91e7dcc555ada4fe43198327383e895e528c4cc7;hpb=e8ec3df371f0496a52ebdc463245d7b9df3be6ff diff --git a/divelist.c b/divelist.c index 8cf0793..36c5883 100644 --- a/divelist.c +++ b/divelist.c @@ -565,7 +565,8 @@ static void fill_one_dive(struct dive *dive, DIVE_SUIT, suit, -1); - /* this will create a merge conflict with the memory leak patches */ + free(location); + free(cylinder); free(suit); }