projects
/
test
/
tct
/
native
/
api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2ec05
)
[UTC][usb-host][Non-ACR][Set context to NULL after cleanup]
author
Paweł Szewczyk
<p.szewczyk@samsung.com>
Thu, 20 Sep 2018 13:12:49 +0000
(15:12 +0200)
committer
Paweł Szewczyk
<p.szewczyk@samsung.com>
Thu, 20 Sep 2018 13:12:49 +0000
(15:12 +0200)
Change-Id: I60555c444c8176a20b0ad5f04c47467db3fcdcb8
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
src/utc/usb-host/utc-usb-host.c
patch
|
blob
|
history
diff --git
a/src/utc/usb-host/utc-usb-host.c
b/src/utc/usb-host/utc-usb-host.c
index b6b7b67f8410a37050ff1bf1674c3d057d96330b..63e399a11b139feb5f00e5c4d301579e7348e917 100755
(executable)
--- 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;
}
/**