Major memory saving.
commitcb26d9429bace12ee582f79e32af7f92db884127
authorDan Carpenter <error27@gmail.com>
Wed, 1 Apr 2009 10:14:16 +0000 (1 13:14 +0300)
committerDan Carpenter <error27@gmail.com>
Wed, 1 Apr 2009 10:14:16 +0000 (1 13:14 +0300)
tree67c19489c071ef0cb227a687ecbef2cf27e79df9
parent4e845fc9bf4904fcf80929b559300e51032d1459
Major memory saving.

These days clone_slist() can be just a pointer to sm_states instead of a
complete copy of all the sm_states.  Before it wasn't possible to do that
because we used to change the ->state member but now we just allocate a
new state.

Not making complete copies of everything all the time is a big win.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_slist.c