check_memory.c: use the add_scope_hook()
commitbb81575c92223409f1c50bb94181568d2116ad06
authorDan Carpenter <error27@gmail.com>
Mon, 8 Jun 2009 05:04:29 +0000 (8 08:04 +0300)
committerDan Carpenter <error27@gmail.com>
Mon, 8 Jun 2009 05:04:29 +0000 (8 08:04 +0300)
tree01ec3f19e3d90554ac8b81366deef1a18d105114
parentb63e7b49496620fb5f613cfb7701a2b5d934f217
check_memory.c: use the add_scope_hook()

Using scoped_state() to delete the state before checking the state was a
bad idea.

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