projects
/
interaspect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c23f10
)
Turns out you're supposed to NULL terminate linked lists.
author
Justin Seyster
<jseyster@cs.sunysb.edu>
Fri, 3 Sep 2010 00:01:48 +0000
(20:01 -0400)
committer
Justin Seyster
<jseyster@cs.sunysb.edu>
Fri, 3 Sep 2010 00:01:48 +0000
(20:01 -0400)
src/aop-header.c
patch
|
blob
|
history
diff --git
a/src/aop-header.c
b/src/aop-header.c
index 7ab4164f3d09fc85675a71432bf62c294e7509ed..3e721a64053296041d441c299389ea489b1a7431 100644
(file)
--- a/
src/aop-header.c
+++ b/
src/aop-header.c
@@
-235,6
+235,7
@@
insert_prototype (bool has_return_value, const char *name, int num_params,
prototype = xmalloc (sizeof (struct aop_prototype) + param_types_size);
*hash_slot = prototype;
+ prototype->next = NULL;
prototype->has_return_value = has_return_value;
prototype->name = xstrdup (name);
prototype->num_params = num_params;