diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-12-11 17:56:28 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-12 03:34:25 +0100 |
commit | aadf2cd19c4f77fba821f8a2c7bf9a34dc07b8c0 (patch) | |
tree | 0f1aa77161d813401029173cad222bab089f759f /libdivecomputer.c | |
parent | 1b5b562da8eb328f5e7b9ad86796e526f88bba09 (diff) | |
download | subsurface-aadf2cd19c4f77fba821f8a2c7bf9a34dc07b8c0.tar.gz |
Don't leak the zip structure if no dives are selected
Just move the check above the zip_open call.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions