state: Make sure we duplicate the keys used for hashing
commit7f513696dc131a0ea7858281e4d7dd094d45f9cd
authorAndreas Ericsson <ae@op5.se>
Tue, 6 Apr 2010 17:31:11 +0000 (6 19:31 +0200)
committerAndreas Ericsson <ae@op5.se>
Tue, 6 Apr 2010 17:31:11 +0000 (6 19:31 +0200)
tree8343e8e6b99080ab9a39c0a8f01998291ee4ba1d
parent0d7e97099b078a5817027e316cc7230aa0da97e8
state: Make sure we duplicate the keys used for hashing

If we don't, the keys will be the ones pointing to somewhere
in the stream we're parsing, and may even be free()'d by the
time we try to look them up again.

This causes the state duplication ignoring thing to work as
intended once more.

Signed-off-by: Andreas Ericsson <ae@op5.se>
state.c