After commit 76c5ced, when running wr_compile() for previously working code, we get a hard fault in the destructor of WRstr class, shouldn't be there g_free() instead of free()?
working: ~WRstr() { if ( m_str != m_smallbuf ) g_free(m_str); }
not working: ~WRstr() { if ( m_str != m_smallbuf ) free(m_str); }
After commit 76c5ced, when running
wr_compile()
for previously working code, we get a hard fault in the destructor ofWRstr
class, shouldn't be there g_free() instead of free()? working:~WRstr() { if ( m_str != m_smallbuf ) g_free(m_str); }
not working:~WRstr() { if ( m_str != m_smallbuf ) free(m_str); }