houweifeng/sbase

Bug report of evbase---logger.h

Opened this issue · 0 comments

in logger.h line 108:
if(PL(ptr)->mutex){MUTEX_DESTROY(PL(ptr)->mutex);}
it gives MUTEX_DESTROY a pointer of MUTEX *

but MUTEX_DESTROY is defined to have a poniter of MUTEX **.

So this bug man cause Segmentation fault

Original issue reported on code.google.com by iceman0...@gmail.com on 10 Feb 2010 at 7:49