various fixes (#49)

* libs: libc: math: Fix tanh() math functions
* drivers: mtd: smart: Fix trivial debug message in smartfs
* binfmt: libelf: Fix fd not closed on error
* binfmt: Fix stack memory leak on error
* fs: romfs: Fix private data not free on error
* sched: group: Fix reference after free memory
* sched: clock: Fix clock sync

Fix clock sync when CONFIG_RTC_HIRES is enabled
This commit is contained in:
Alin Jerpelea
2020-01-07 17:06:02 +02:00
committed by patacongo
parent 077ef70b0c
commit a8d63c0cec
9 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -4988,7 +4988,7 @@ static inline int smart_allocsector(FAR struct smart_struct_s *dev,
physicalsector = smart_findfreephyssector(dev, FALSE);
finfo("Alloc: log=%d, phys=%d, erase block=%d, free=%d, released=%d\n",
logsector, physicalsector, physicalsector /
dev->sectorsPerBlk, dev->freesectors, dev->releasecount);
dev->sectorsPerBlk, dev->freesectors, dev->releasesectors);
if (physicalsector == 0xffff)
{