armink / FlashDB

An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库
Apache License 2.0
1.84k stars 426 forks source link

[fdb] close stream pointer via fclose() #268

Closed OlegHahm closed 10 months ago

OlegHahm commented 10 months ago

I'm not quite sure why the compiler is not detecting this mismatch but the element in the data structure gets initialized from a stream pointer and thus should be closed via fclose() and not `close() .

armink commented 10 months ago

yes, Thx for your PR