Browse Source
Only free the logbuffer if you exit sdlog2. After disarming, just reset the pointers. This way, we don't take any risks doing malloc and free. The actual "double free" was caused by trying to free the perf counter inside logbuffer_free.sbg
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue