From: Paweł Szewczyk Date: Thu, 20 Sep 2018 13:12:49 +0000 (+0200) Subject: [UTC][usb-host][Non-ACR][Set context to NULL after cleanup] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94715b0a47d82a883f98bd6d284415ee31c258af;p=test%2Ftct%2Fnative%2Fapi.git [UTC][usb-host][Non-ACR][Set context to NULL after cleanup] Change-Id: I60555c444c8176a20b0ad5f04c47467db3fcdcb8 Signed-off-by: Paweł Szewczyk --- diff --git a/src/utc/usb-host/utc-usb-host.c b/src/utc/usb-host/utc-usb-host.c index b6b7b67f8..63e399a11 100755 --- a/src/utc/usb-host/utc-usb-host.c +++ b/src/utc/usb-host/utc-usb-host.c @@ -3092,6 +3092,7 @@ void utc_usb_host_context_cleanup(void) { /* TODO handle errors */ usb_host_destroy(ctx); + ctx = NULL; } /**