Fix Coverity CID 741991: Wrong sizeof argument.

svn path=/trunk/; revision=47074
This commit is contained in:
Chris Maynard 2013-01-14 18:41:25 +00:00
parent b3bc6cf28f
commit c6c41ee09b
1 changed files with 1 additions and 1 deletions

View File

@ -1863,7 +1863,7 @@ decode_bluetooth(GtkWidget *notebook_pg)
dissector_change_uint(table_name, value, handle);
}
value_type = g_malloc(sizeof(value_type));
value_type = g_malloc(sizeof(guint));
*value_type = value;
decode_build_reset_list(g_strdup(table_name), FT_UINT32, value_type, NULL, NULL);