Mercurial > hg > sidinfo
diff sidinfo.c @ 257:41fe5ec24726
Plug some minor memory leaks.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Jan 2020 21:45:40 +0200 |
parents | 9e45cb6f12a5 |
children | 4df54600633a |
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);