mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
cleanup msvc code analysis warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13366 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -83,6 +83,8 @@ SWITCH_DECLARE(switch_status_t) switch_frame_dup(switch_frame_t *orig, switch_fr
|
||||
switch_frame_t *new_frame;
|
||||
|
||||
new_frame = malloc(sizeof(*new_frame));
|
||||
|
||||
switch_assert(new_frame);
|
||||
|
||||
*new_frame = *orig;
|
||||
switch_set_flag(new_frame, SFF_DYNAMIC);
|
||||
|
Reference in New Issue
Block a user