1
1

Protect the free of base->sig.sh_old . This was raising a warning under some finalization circumstances.

This should be moved to v1.3

Thanks to Yaakoub El Khamra for the patch. 

This commit was SVN r21079.
Этот коммит содержится в:
Josh Hursey 2009-04-27 17:05:10 +00:00
родитель 537579ad5d
Коммит 84471e4bd4

Просмотреть файл

@ -301,5 +301,8 @@ evsignal_dealloc(struct event_base *base)
base->sig.sh_old_max = 0;
/* per index frees are handled in evsignal_del() */
if( NULL != base->sig.sh_old ) {
free(base->sig.sh_old);
base->sig.sh_old = NULL;
}
}