mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
fix double-destroy seg
This commit is contained in:
parent
d04016dd89
commit
63deed9fc9
@ -196,8 +196,10 @@ void
|
||||
sofia_su_uniqueid_destructor(void)
|
||||
{
|
||||
#if HAVE_DEV_URANDOM
|
||||
if (urandom)
|
||||
fclose(urandom);
|
||||
if (urandom) {
|
||||
fclose(urandom);
|
||||
urandom=NULL;
|
||||
}
|
||||
#endif /* HAVE_DEV_URANDOM */
|
||||
|
||||
#if SU_HAVE_PTHREADS
|
||||
|
Loading…
x
Reference in New Issue
Block a user