Anna Schumaker
99faa0cf39
Valgrind told me that all calls to g_assert_cmpstr_free() weren't actually freeing the string. A closer look shows that if we pass a function as "lhs" then the function will be called twice, allocating twice as much memory. Fix this by storing the result of lhs in a temporary variable so functions are only ever called once. Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com> |
||
---|---|---|
.. | ||
test.h |