blspec: fix erroneus free in entry_is_of_compatible()
Whenever of_unflatten_dtb() encountered an error it already released the memory
before returning the error code. Make this apparent by setting the pointer to
NULL to avoid an erroneus free.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c42e826 commit 71f6328d0093207b20ef110dffb9273cd232cba3
@Ulrich Ölmann Ulrich Ölmann authored on 27 Sep 2016
Sascha Hauer committed on 27 Sep 2016
Showing 1 changed file
View
common/blspec.c