FS-5395: --resolve Resolve another mod_rtmp crash where oh specific hangup scenarios there would be a free of variable that wasn't ever malloced

This commit is contained in:
William King committed 2013-05-08 16:54:05 -07:00
1 parent 0a68bee88e
commit b3117e8f88
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -767,6 +767,7 @@ switch_status_t rtmp_session_request(rtmp_profile_t *profile, rtmp_session_t **n
(*newsession)->in_chunksize = (*newsession)->out_chunksize = RTMP_DEFAULT_CHUNKSIZE;
(*newsession)->recv_ack_window = RTMP_DEFAULT_ACK_WINDOW;
(*newsession)->next_streamid = 1;
(*newsession)->io_private = NULL;
switch_uuid_get(&uuid);
switch_uuid_format((*newsession)->uuid, &uuid);