mirror of https://gitee.com/openkylin/linux.git
b40f97b91a
In lapb_device_event, lapb_devtostruct is called to get a reference to
an object of "struct lapb_cb". lapb_devtostruct increases the refcount
of the object and returns a pointer to it. However, we didn't decrease
the refcount after we finished using the pointer. This patch fixes this
problem.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
lapb_iface.c | ||
lapb_in.c | ||
lapb_out.c | ||
lapb_subr.c | ||
lapb_timer.c |