projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd294c
)
Fix resource leak
author
Colin Leroy
<colin@colino.net>
Thu, 8 Oct 2015 17:18:53 +0000
(19:18 +0200)
committer
Colin Leroy
<colin@colino.net>
Thu, 8 Oct 2015 17:18:53 +0000
(19:18 +0200)
src/jpilot.c
patch
|
blob
|
history
diff --git
a/src/jpilot.c
b/src/jpilot.c
index fde63ce372b242edb050e247211fe5b6022cdc8c..43f58f45e4ff34c6f8a1d714c1f1b2d04b08d75d 100644
(file)
--- a/
src/jpilot.c
+++ b/
src/jpilot.c
@@
-872,6
+872,7
@@
static gint jpilot_read_db_files( JPilotFile *pilotFile, GList **records ) {
}
}
if (fseek( in, next_offset, SEEK_SET ) < 0) {
+ free_mem_rec_header( &mem_rh );
fclose(in);
return MGU_ERROR_READ;
}