Fix usbhost/usbhost_hub.c:1339:3: error: 'free' called on pointer 'alloc' with nonzero offset 12 [-Werror=free-nonheap-object]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
57b6447e0a
commit
00d78a51e4
|
@ -1336,7 +1336,7 @@ errout_with_ctrlreq:
|
|||
kmm_free(priv->ctrlreq);
|
||||
|
||||
errout_with_hub:
|
||||
kmm_free(priv);
|
||||
kmm_free(alloc);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue