mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
fix double-destroy seg
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user