aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mac-lte.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2013-09-30 10:15:50 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2013-09-30 10:15:50 +0000
commitacf8fbb75deb3150fee28602756abf982a67ef3b (patch)
treea504fb2ae0848a640683260cd0e08900c8149417 /epan/dissectors/packet-mac-lte.c
parent88c79b03d92f3ec2a5d2df663f610bef4adc75e1 (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.c4
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);