You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building with clang scan-build though it reported couple of issues that may be of interest.
This looks like real memory leak to me, at least I can't figure out how struct Echo *obj would not leak. Besides leaking, it mostly looks like dead code also?
3rdparty/dbm/dsp_echo.c:130:3: warning: Value stored to 'leave_active' is never read [deadcode.DeadStores]
130 | leave_active = prev->dsp_pull(prev, b, chunk);
3rdparty/dbm/loader.c:283:7: warning: Although the value stored to 'k' is used in the enclosing expression, the value is never actually read from 'k' [deadcode.DeadStores]
283 | if (k = ah->ah_Read(ah, buf, length)) dc->Pos += length;
The text was updated successfully, but these errors were encountered:
Hi,
I recently added libdigibooster3 support to my Audacious UADE plugin https://github.com/mvtiaine/audacious-uade
Works great!
Building with clang
scan-build
though it reported couple of issues that may be of interest.This looks like real memory leak to me, at least I can't figure out how
struct Echo *obj
would not leak. Besides leaking, it mostly looks like dead code also?https://github.com/grzegorz-kraszewski/libdigibooster3/blob/master/dsp_echo.c#L261
There are also couple of more dead code warnings, but don't look that serious:
https://github.com/grzegorz-kraszewski/libdigibooster3/blob/master/dsp_echo.c#L129
https://github.com/grzegorz-kraszewski/libdigibooster3/blob/master/loader.c#L282
The text was updated successfully, but these errors were encountered: