aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rrc
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-07-30 13:38:51 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-07-30 13:38:51 +0000
commit4efded1f504f9e930dd3846758b3aeb78ad603c5 (patch)
tree0b0572d9bf8e421cbc2ecd9d347c1a9c963c3a4a /asn1/rrc
parentb1aba30a79ee12d0438600fa62ea45ab5b1e8a60 (diff)
Fix Coverity CID 712343: Wrong sizeof argument.
svn path=/trunk/; revision=44136
Diffstat (limited to 'asn1/rrc')
-rw-r--r--asn1/rrc/rrc.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/rrc/rrc.cnf b/asn1/rrc/rrc.cnf
index f382b50f63..579bef2890 100644
--- a/asn1/rrc/rrc.cnf
+++ b/asn1/rrc/rrc.cnf
@@ -683,7 +683,7 @@ HNBName TYPE=FT_STRING DISPLAY=BASE_NONE
/*If it doesnt exists, insert it*/
if( (cur_val=g_tree_lookup(hsdsch_muxed_flows, GINT_TO_POINTER((gint)hr))) == NULL ){
- flowd_p = (guint*)g_malloc0(sizeof(gint*));
+ flowd_p = (guint*)g_malloc0(sizeof(gint));
*flowd_p = (1<<flowd); /*Set the bit to mark it as true*/
g_tree_insert(hsdsch_muxed_flows, GINT_TO_POINTER((gint)hr), flowd_p);