[PATCH 0/2] Minor fairly cosmetic patches
Linus Torvalds
torvalds at linux-foundation.org
Tue May 31 10:10:17 PDT 2016
Here are two trivial patches. The first one I've had pending for a
while and fixes a memory leak (not big, but I happened to notice it when
running valgrind), and the second one removes the code to ignore surface
samples at divecomputer import time.
That second one will mean that we'll get the noisy samples from dive
computers that keep insisting that they are at the surface, but I will
need the samples to see what would be a better alternative. I suspect we
can just replace the "don't import surface events" with "don't show
surface events if one of the samples around it is at the surface", but I
don't actually know where the surface event trigger is since we don't have
this data in our history.
Linus
core/dive.c | 9 ++++++++-
core/libdivecomputer.c | 8 --------
2 files changed, 8 insertions(+), 9 deletions(-)
More information about the subsurface
mailing list