fix crashing bug.
commitd202fa4d9df47fe91cd7e735e9652d15eb854a6b
authorDan Carpenter <error27@gmail.com>
Mon, 7 Dec 2009 09:24:51 +0000 (7 11:24 +0200)
committerDan Carpenter <error27@gmail.com>
Mon, 7 Dec 2009 09:24:51 +0000 (7 11:24 +0200)
treee81c6e221d08c7088393a583596159a586f62440
parent5d0b8244ed69997b9622b8f0177692aa2e58b12e
fix crashing bug.

If type is not RANGED_CALL then tmp->range is NULL.  This would be
triggered if you had mutex_trylock() as both a conditional and ranged
call.

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