ratp: avoid using already freed memory
If ratp_establish() fails we would be accessing the ratp_internal
struct after having disposed it.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8e5a534 commit bda5cb765dd7b1aabf7c7b8d3945d3ead2ed42ad
@Aleksander Morgado Aleksander Morgado authored on 2 Jun 2017
Sascha Hauer committed on 6 Jun 2017
Showing 1 changed file
View
lib/ratp.c