Turns out you're supposed to NULL terminate linked lists.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 3 Sep 2010 00:01:48 +0000 (20:01 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 3 Sep 2010 00:01:48 +0000 (20:01 -0400)
src/aop-header.c

index 7ab4164f3d09fc85675a71432bf62c294e7509ed..3e721a64053296041d441c299389ea489b1a7431 100644 (file)
@@ -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;