Mercurial > hg > sidinfo
changeset 257:41fe5ec24726
Plug some minor memory leaks.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Jan 2020 21:45:40 +0200 |
parents | 7fdcacbdfc00 |
children | 8d914417227d |
files | sidinfo.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Sun Jan 05 20:49:20 2020 +0200 +++ b/sidinfo.c Sun Jan 05 21:45:40 2020 +0200 @@ -1330,7 +1330,7 @@ } err1: - th_io_close(inFile); + th_io_free(inFile); inFile = NULL; } @@ -1351,6 +1351,7 @@ iconv_close(setChConv); #endif + siClearStack(&optFormat); th_free(setHVSCPath); th_free(setSLDBPath); sidlib_sldb_free(sidSLDB);