Fixed sizeof() type.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Sat, 27 Mar 2010 01:38:08 +0000 (21:38 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Sat, 27 Mar 2010 01:38:08 +0000 (21:38 -0400)
src/aop-pc-entry.c
src/aop-pc-exit.c

index 74c7c3f18e1c90ce6d0c6f3a7c60cd998accb303..51717e3078bcfe6556fefab1df86f0ed0ac0d292 100644 (file)
@@ -64,7 +64,7 @@ aop_match_function_entry ()
 {
   struct aop_pointcut *pc;
 
-  pc = ggc_alloc (sizeof (struct aop_pointcut *));
+  pc = ggc_alloc (sizeof (struct aop_pointcut));
   pc->kind = ATP_ENTRY;
   pc->join_on = op_join_on_function_entry;
   pc->insert_before = op_default_insert_before;
index 97f889147381ae60386b0fde807a8c2bb806be65..ac762776654f424bf40e27be918ccb4acd9771f8 100644 (file)
@@ -68,7 +68,7 @@ aop_match_function_exit ()
 {
   struct aop_pointcut *pc;
   
-  pc = ggc_alloc (sizeof (struct aop_pointcut *));
+  pc = ggc_alloc (sizeof (struct aop_pointcut));
   pc->kind = ATP_EXIT;
   pc->join_on = op_join_on_function_exit;
   pc->insert_before = op_default_insert_before;