>>315>>317>>319>>323>>328>>331
をつなぎあわした。
ttp://ideone.com/dv0RAQ

>>317付近、 
int InsertBucket(Hash * h, Data * x);
の辺りが壊れているようだが。