[OTR-dev] memory leak in pidgin-otr

Andreas Schlick schlick at lavabit.com
Mon Jan 28 17:24:18 EST 2013


> Ian and I were both curious about how this didn't cause a crash on
> Windows. I suspect it is because free() and g_free() somehow behave
> differently?

Why should it crash specifically on Windows? AFAICT, glib's memory
functions come down to standard {m,c,re}alloc()/free() and so using
free() instead of g_free() should work (at least for the moment).
I also didn't spot any #ifdef's for windows in glib/gmem.{c,h} or is 
somehow g_mem_set_vtable() called on Windows?


More information about the OTR-dev mailing list