diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2013-09-30 10:15:50 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2013-09-30 10:15:50 +0000 |
commit | acf8fbb75deb3150fee28602756abf982a67ef3b (patch) | |
tree | a504fb2ae0848a640683260cd0e08900c8149417 /epan/dissectors/packet-mac-lte.c | |
parent | 88c79b03d92f3ec2a5d2df663f610bef4adc75e1 (diff) |
Deep copy needed (clang warning flagged by Alexis!)
svn path=/trunk/; revision=52291
Diffstat (limited to 'epan/dissectors/packet-mac-lte.c')
-rw-r--r-- | epan/dissectors/packet-mac-lte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c index 8a572d55f3..cabca83a33 100644 --- a/epan/dissectors/packet-mac-lte.c +++ b/epan/dissectors/packet-mac-lte.c @@ -1289,8 +1289,8 @@ static void set_drx_info(packet_info *pinfo, mac_lte_info *p_mac_lte_info) /* Update start of UE to now */ update_drx_info(ue_state, pinfo); - /* Copy this snapshot for this frame */ - frame_result = ue_state; + /* Deep-copy this snapshot for this frame */ + *frame_result = *ue_state; /* And store in table */ g_hash_table_insert(mac_lte_drx_frame_result, GUINT_TO_POINTER(pinfo->fd->num), frame_result); |