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
Since we're exposing a C API, and we'll have examples for its usage, we should not only test for the absence of errors while running, but even the possible memory leaks, using tools like Valgrind (possibly in the CI).
The text was updated successfully, but these errors were encountered:
We could use the compiler address sanitize option (-fsanitize=address). Usually, this is quite useful and simple to catch memory leaks when executing tests.
Since we're exposing a C API, and we'll have examples for its usage, we should not only test for the absence of errors while running, but even the possible memory leaks, using tools like Valgrind (possibly in the CI).
The text was updated successfully, but these errors were encountered: