changes such that deadend.c does not actually leak memory
changes such that deadend.c does not actually leak memory

graphserver/graphserver,bmander/graphserver,graphserver/graphserver,bmander/graphserver