mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
Thu Feb 12 14:45:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid: call initstate() with memory from heap Ignore-this: af9e58551676e173844d0b77af0e287a When libsofia-sip-ua.so gets unloaded, its data segment gets unloaded, but random() still wants to use the memory. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11956 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d279dd8e5c
commit
0eceb861b0
3 files changed
+7
-2
No files matched your search
@@ -136,7 +136,12 @@ static void init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
#if HAVE_INITSTATE
|
||||
/* Allow libsofia-sip-ua.so to unload. */
|
||||
uint32_t *seed = calloc(32, sizeof *seed);
|
||||
#else
|
||||
static uint32_t seed[32] = { 0 };
|
||||
#endif
|
||||
su_time_t now;
|
||||
|
||||
initialized = 1;
|
||||
|
||||
Reference in new issue
Block a user